瀏覽代碼

Do not allow optimizations which breaks linux build

Ulf Samuelsson 17 年之前
父節點
當前提交
0bd3ec265f
共有 1 個文件被更改,包括 2 次插入0 次删除
  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