Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

make CC_OPTIMIZE_FOR_SIZE non-experimental

this option has been the default on a wide range of distributions
for a long time - time to make it non-experimental.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Ingo Molnar and committed by
Linus Torvalds
96fffeb4 513694b5

+1 -5
+1 -5
init/Kconfig
··· 496 496 endif 497 497 498 498 config CC_OPTIMIZE_FOR_SIZE 499 - bool "Optimize for size (Look out for broken compilers!)" 499 + bool "Optimize for size" 500 500 default y 501 - depends on ARM || H8300 || SUPERH || EXPERIMENTAL 502 501 help 503 502 Enabling this option will pass "-Os" instead of "-O2" to gcc 504 503 resulting in a smaller kernel. 505 - 506 - WARNING: some versions of gcc may generate incorrect code with this 507 - option. If problems are observed, a gcc upgrade may be needed. 508 504 509 505 If unsure, say N. 510 506