Skip to content

Commit

Permalink
make CC_OPTIMIZE_FOR_SIZE non-experimental
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar authored and torvalds committed Apr 28, 2008
1 parent 513694b commit 96fffeb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96fffeb

Please sign in to comment.