projects/linux·commit 96fffeb4

make CC_OPTIMIZE_FOR_SIZE non-experimental

96fffeb4 · Ingo Molnar <[email protected]> · 2008-04-28 01:39:43 +02:00

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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
96fffeb4b413a4f8f65bb627d59b7dfc97ea0b39
Parents
513694b5

Changes

1 files changed · +1 −5

FileStatusAddDelContent
init/Kconfigmodified+1−5View file

init/Kconfig

View file
diff --git a/init/Kconfig b/init/Kconfig
index ba3a389..183c997 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -496,16 +496,12 @@ source "usr/Kconfig"
endif
config CC_OPTIMIZE_FOR_SIZE
- bool "Optimize for size (Look out for broken compilers!)"
+ bool "Optimize for size"
default y
- depends on ARM || H8300 || SUPERH || EXPERIMENTAL
help
Enabling this option will pass "-Os" instead of "-O2" to gcc
resulting in a smaller kernel.
- WARNING: some versions of gcc may generate incorrect code with this
- option. If problems are observed, a gcc upgrade may be needed.
-
If unsure, say N.
config SYSCTL