Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.12.4 optimise harder patch fails #1046

Open
Tatsh opened this issue Dec 10, 2024 · 1 comment
Open

6.12.4 optimise harder patch fails #1046

Tatsh opened this issue Dec 10, 2024 · 1 comment

Comments

@Tatsh
Copy link
Contributor

Tatsh commented Dec 10, 2024

The Makefile was changed to variable-ise the C standard argument.

Patch for the 0013-optimize_harder_O3.patch:

diff --git a/0013-optimize_harder_O3.patch b/0013-optimize_harder_O3.patch
index 74ca02cf..382b3424 100644
--- a/0013-optimize_harder_O3.patch
+++ b/0013-optimize_harder_O3.patch
@@ -5,8 +5,8 @@ diff --git a/Makefile b/Makefile
  HOSTPKG_CONFIG        = pkg-config

  KBUILD_USERHOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes \
--                       -O2 -fomit-frame-pointer -std=gnu11
-+                       -O3 -fomit-frame-pointer -std=gnu11
+-                       -O2 -fomit-frame-pointer $(CSTD_FLAG)
++                       -O3 -fomit-frame-pointer $(CSTD_FLAG)
  KBUILD_USERCFLAGS  := $(KBUILD_USERHOSTCFLAGS) $(USERCFLAGS)
  KBUILD_USERLDFLAGS := $(USERLDFLAGS)
@hellsgod
Copy link

Works on my machine with 6.12.4, no modification needed here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants