We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b1e217 commit 2e31d7aCopy full SHA for 2e31d7a
1 file changed
Makefile
@@ -245,8 +245,8 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
245
246
HOSTCC = gcc
247
HOSTCXX = g++
248
-HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Os -fomit-frame-pointer
249
-HOSTCXXFLAGS = -Os
+HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCXXFLAGS = -O2
250
251
# Decide whether to build built-in, modular, or both.
252
# Normally, just do built-in.
@@ -562,9 +562,9 @@ endif # $(dot-config)
562
all: vmlinux
563
564
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
565
-KBUILD_CFLAGS += -Os
+KBUILD_CFLAGS += -O2
566
else
567
568
endif
569
570
include $(srctree)/arch/$(SRCARCH)/Makefile
0 commit comments