Explorar el Código

Do not allow optimizations which breaks linux build

Ulf Samuelsson hace 17 años
padre
commit
0bd3ec265f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      Config.in

+ 2 - 0
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