summaryrefslogtreecommitdiffstats
path: root/arch/arc/configs/hsdk_defconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-20 19:09:40 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-09-04 03:01:17 +0200
commit15f5db60a13748f44e5a14a2573c2cfcdc152f1c (patch)
tree7123e2a44a2aa4d377c2f65f0c5bd16a7283ffb8 /arch/arc/configs/hsdk_defconfig
parentkbuild: Do not enable -Wimplicit-fallthrough for clang for now (diff)
downloadlinux-15f5db60a13748f44e5a14a2573c2cfcdc152f1c.tar.xz
linux-15f5db60a13748f44e5a14a2573c2cfcdc152f1c.zip
kbuild,arc: add CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3 for ARC
arch/arc/Makefile overrides -O2 with -O3. This is the only user of ARCH_CFLAGS. There is no user of ARCH_CPPFLAGS or ARCH_AFLAGS. My plan is to remove ARCH_{CPP,A,C}FLAGS after refactoring the ARC Makefile. Currently, ARC has no way to enable -Wmaybe-uninitialized because both -O3 and -Os disable it. Enabling it will be useful for compile-testing. This commit allows allmodconfig (, which defaults to -O2) to enable it. Add CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y to all the defconfig files in arch/arc/configs/ in order to keep the current config settings. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/configs/hsdk_defconfig')
-rw-r--r--arch/arc/configs/hsdk_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/configs/hsdk_defconfig b/arch/arc/configs/hsdk_defconfig
index 403125d9c9a3..9b9a74444ce2 100644
--- a/arch/arc/configs/hsdk_defconfig
+++ b/arch/arc/configs/hsdk_defconfig
@@ -9,6 +9,7 @@ CONFIG_NAMESPACES=y
# CONFIG_PID_NS is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_BLK_DEV_RAM=y
+CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y
CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
# CONFIG_VM_EVENT_COUNTERS is not set