X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Farch%2Farc%2FMakefile;h=2f21e1e0ecf75b02d73620c251b4d53076dbb635;hb=fdb8b20906f3546ba6c2f9f0686d8a5189516ba3;hp=db72fec0e160fc8e67fe17c5faf9c6ef54c8bcdb;hpb=9ca8dbcc65cfc63d6f5ef3312a33184e1d726e00;p=kvmfornfv.git 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