diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-21 02:09:40 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-09-04 10:01:17 +0900 |
commit | 15f5db60a13748f44e5a14a2573c2cfcdc152f1c (patch) | |
tree | 7123e2a44a2aa4d377c2f65f0c5bd16a7283ffb8 /lib/842 | |
parent | e2079e93f562c7f7a030eb7642017ee5eabaaa10 (diff) | |
download | linux-stable-15f5db60a13748f44e5a14a2573c2cfcdc152f1c.tar.gz linux-stable-15f5db60a13748f44e5a14a2573c2cfcdc152f1c.tar.bz2 linux-stable-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 'lib/842')
0 files changed, 0 insertions, 0 deletions