diff options
Diffstat (limited to 'kernel/arch/arc/Makefile')
-rw-r--r-- | kernel/arch/arc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/arch/arc/Makefile b/kernel/arch/arc/Makefile index db72fec0e..2f21e1e0e 100644 --- a/kernel/arch/arc/Makefile +++ b/kernel/arch/arc/Makefile @@ -43,7 +43,8 @@ endif ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE # Generic build system uses -O2, we want -O3 -cflags-y += -O3 +# Note: No need to add to cflags-y as that happens anyways +ARCH_CFLAGS += -O3 endif # small data is default for elf32 tool-chain. If not usable, disable it |