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>
Showing
- Makefile 6 additions, 4 deletionsMakefile
- arch/arc/Makefile 0 additions, 8 deletionsarch/arc/Makefile
- arch/arc/configs/axs101_defconfig 1 addition, 0 deletionsarch/arc/configs/axs101_defconfig
- arch/arc/configs/axs103_defconfig 1 addition, 0 deletionsarch/arc/configs/axs103_defconfig
- arch/arc/configs/axs103_smp_defconfig 1 addition, 0 deletionsarch/arc/configs/axs103_smp_defconfig
- arch/arc/configs/haps_hs_defconfig 1 addition, 0 deletionsarch/arc/configs/haps_hs_defconfig
- arch/arc/configs/haps_hs_smp_defconfig 1 addition, 0 deletionsarch/arc/configs/haps_hs_smp_defconfig
- arch/arc/configs/hsdk_defconfig 1 addition, 0 deletionsarch/arc/configs/hsdk_defconfig
- arch/arc/configs/nps_defconfig 1 addition, 0 deletionsarch/arc/configs/nps_defconfig
- arch/arc/configs/nsim_700_defconfig 1 addition, 0 deletionsarch/arc/configs/nsim_700_defconfig
- arch/arc/configs/nsim_hs_defconfig 1 addition, 0 deletionsarch/arc/configs/nsim_hs_defconfig
- arch/arc/configs/nsim_hs_smp_defconfig 1 addition, 0 deletionsarch/arc/configs/nsim_hs_smp_defconfig
- arch/arc/configs/nsimosci_defconfig 1 addition, 0 deletionsarch/arc/configs/nsimosci_defconfig
- arch/arc/configs/nsimosci_hs_defconfig 1 addition, 0 deletionsarch/arc/configs/nsimosci_hs_defconfig
- arch/arc/configs/nsimosci_hs_smp_defconfig 1 addition, 0 deletionsarch/arc/configs/nsimosci_hs_smp_defconfig
- arch/arc/configs/tb10x_defconfig 1 addition, 0 deletionsarch/arc/configs/tb10x_defconfig
- arch/arc/configs/vdk_hs38_defconfig 1 addition, 0 deletionsarch/arc/configs/vdk_hs38_defconfig
- arch/arc/configs/vdk_hs38_smp_defconfig 1 addition, 0 deletionsarch/arc/configs/vdk_hs38_smp_defconfig
- init/Kconfig 10 additions, 2 deletionsinit/Kconfig
Loading
Please register or sign in to comment