kbuild: enable -O3 and -Ofast flags for all

This commit is contained in:
xxmustafacooTR 2022-12-27 21:21:14 +03:00
parent c363059cc0
commit 35d1affc23
No known key found for this signature in database
GPG key ID: 520B6FE385CBF5C9

View file

@ -1554,14 +1554,12 @@ config CC_OPTIMIZE_FOR_PERFORMANCE
config CC_OPTIMIZE_FOR_PERFORMANCE_O3
bool "Optimize more for performance (-O3)"
depends on ARC
help
Choosing this option will pass "-O3" to your compiler to optimize
the kernel yet more for performance.
config CC_OPTIMIZE_FOR_PERFORMANCE_UNSAFE
bool "Optimize more for performance (-Ofast)"
depends on ARC
help
Choosing this option will pass "-Ofast" and some extreme optimizations
to your compiler to optimize the kernel yet more for performance.