Skip to contentSkip to conversation

kbuild: CONFIG_CC_OPTIMIZE_FOR_SIZE should not be default

PATCH New Pavel Roskin 1 participant 1 message Feb 22, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kbuild: CONFIG_CC_OPTIMIZE_FOR_SIZE should not be default

It's an experimental option and it's not generally recommended

---

 init/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
init/Kconfig +0 -1
index dcef8b5..a998a13 100644
@@ -477,7 +477,6 @@ endif
 
 config CC_OPTIMIZE_FOR_SIZE
 	bool "Optimize for size (Look out for broken compilers!)"
-	default y
 	depends on ARM || H8300 || SUPERH || EXPERIMENTAL
 	help
 	  Enabling this option will pass "-Os" instead of "-O2" to gcc