-
-
Save invisiblek/237f83b673f6b607efe9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index 2407a9b..2d392ea 100755 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -245,8 +245,8 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ | |
HOSTCC = gcc | |
HOSTCXX = g++ | |
-HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer | |
-HOSTCXXFLAGS = -O2 | |
+HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O3 -fomit-frame-pointer | |
+HOSTCXXFLAGS = -O3 | |
# Decide whether to build built-in, modular, or both. | |
# Normally, just do built-in. | |
@@ -566,7 +566,7 @@ all: vmlinux | |
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE | |
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) | |
else | |
-KBUILD_CFLAGS += -O2 | |
+KBUILD_CFLAGS += -O3 | |
endif | |
include $(srctree)/arch/$(SRCARCH)/Makefile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment