diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -573,8 +573,12 @@ all: vmlinux ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) else +ifdef CONFIG_LESS_GCC_OPT +KBUILD_CLFAGS += -O1 +else KBUILD_CFLAGS += -O2 endif +endif # conserve stack if available # do this early so that an architecture can override it. |