Do not allow optimizations which breaks linux build
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 30 Mar 2008 21:49:16 +0000 (21:49 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 30 Mar 2008 21:49:16 +0000 (21:49 -0000)
Config.in

index a24fef231b1d060133129b64a208fdb54589494e..42682ec297cc47dc571fa5b5d3ac1822a8491da8 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -259,11 +259,13 @@ choice
 
 config BR2_OPTIMIZE_0
        bool "optimization level 0"
+       depends on !BR2_PACKAGE_LINUX
        help
          Do not optimize. This is the default. 
 
 config BR2_OPTIMIZE_1
        bool "optimization level 1"
+       depends on !BR2_PACKAGE_LINUX
        help
          Optimize. Optimizing compilation takes somewhat more time, 
          and a lot more memory for a large function. With -O, the