aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-04-27 19:39:43 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 12:42:46 -0400
commit96fffeb4b413a4f8f65bb627d59b7dfc97ea0b39 (patch)
tree541ee78392a33f5f37dc06c994e5220d24147633
parent513694b5f931a62561d21eb97a4740ce37464a45 (diff)
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>
-rw-r--r--init/Kconfig6
1 files changed, 1 insertions, 5 deletions
diff --git a/init/Kconfig b/init/Kconfig
index ba3a389fab94..183c9973be72 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -496,16 +496,12 @@ source "usr/Kconfig"
496endif 496endif
497 497
498config CC_OPTIMIZE_FOR_SIZE 498config CC_OPTIMIZE_FOR_SIZE
499 bool "Optimize for size (Look out for broken compilers!)" 499 bool "Optimize for size"
500 default y 500 default y
501 depends on ARM || H8300 || SUPERH || EXPERIMENTAL
502 help 501 help
503 Enabling this option will pass "-Os" instead of "-O2" to gcc 502 Enabling this option will pass "-Os" instead of "-O2" to gcc
504 resulting in a smaller kernel. 503 resulting in a smaller kernel.
505 504
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
509 If unsure, say N. 505 If unsure, say N.
510 506
511config SYSCTL 507config SYSCTL