diff options
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index bc991549ee6d..9af864429cff 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -672,6 +672,14 @@ config CC_OPTIMIZE_FOR_SIZE If unsure, say Y. +config CC_OPTIMIZE_FOR_DEBUG + bool "Optimize for debug" + depends on !CC_OPTIMIZE_FOR_SIZE + help + Enabling this option will pass "-O1" instead of "-O2" to gcc + resulting in a better debug illusion, but also a larger and + slower kernel. + config SYSCTL bool |