diff mbox series

[2/2] Kconfig: Allow -O3 for all architectures

Message ID 20220621133526.29662-3-mikoxyzzz@gmail.com (mailing list archive)
State New, archived
Headers show
Series Kconfig: -O3 enablement | expand

Commit Message

Miko Larsson June 21, 2022, 1:35 p.m. UTC
This commit allows all architectures to use the experimental -O3
optimization option. Previously, only ARC was allowed to use this
option.

Signed-off-by: Miko Larsson <mikoxyzzz@gmail.com>
---
 init/Kconfig | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/init/Kconfig b/init/Kconfig
index 9c292acb2..b88613cb5 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1403,7 +1403,6 @@  config CC_OPTIMIZE_FOR_PERFORMANCE
 
 config CC_OPTIMIZE_FOR_PERFORMANCE_O3
 	bool "Optimize more for performance (-O3) (EXPERIMENTAL)"
-	depends on ARC
 	help
 	  Choosing this option will pass "-O3" to your compiler to optimize
 	  the kernel yet more for performance.