|
@@ -76,7 +76,9 @@ endif
|
|
ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE
|
|
ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE
|
|
# Generic build system uses -O2, we want -O3
|
|
# Generic build system uses -O2, we want -O3
|
|
# Note: No need to add to cflags-y as that happens anyways
|
|
# Note: No need to add to cflags-y as that happens anyways
|
|
-ARCH_CFLAGS += -O3
|
|
|
|
|
|
+#
|
|
|
|
+# Disable the false maybe-uninitialized warings gcc spits out at -O3
|
|
|
|
+ARCH_CFLAGS += -O3 $(call cc-disable-warning,maybe-uninitialized,)
|
|
endif
|
|
endif
|
|
|
|
|
|
# small data is default for elf32 tool-chain. If not usable, disable it
|
|
# small data is default for elf32 tool-chain. If not usable, disable it
|