aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index 6107062c0111..46d87310220d 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -49,7 +49,8 @@ endif
49 49
50ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE 50ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE
51# Generic build system uses -O2, we want -O3 51# Generic build system uses -O2, we want -O3
52cflags-y += -O3 52# Note: No need to add to cflags-y as that happens anyways
53ARCH_CFLAGS += -O3
53endif 54endif
54 55
55# small data is default for elf32 tool-chain. If not usable, disable it 56# small data is default for elf32 tool-chain. If not usable, disable it