Makefile: return -O3

looks like it got fixed on latest clang-15 builds
This commit is contained in:
mikairyuu 2022-03-26 17:00:42 +10:00 committed by spakkkk
parent 45aa6f5477
commit 34ead8f146

View File

@ -734,7 +734,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning, zero-length-bounds)
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os
else
KBUILD_CFLAGS += -O2
KBUILD_CFLAGS += -O3
endif
ifdef CONFIG_LTO_CLANG
KBUILD_CFLAG += -fwhole-program-vtables