Do not allow optimizations which breaks linux build
This commit is contained in:
parent
e013773645
commit
0bd3ec265f
|
@ -259,11 +259,13 @@ choice
|
||||||
|
|
||||||
config BR2_OPTIMIZE_0
|
config BR2_OPTIMIZE_0
|
||||||
bool "optimization level 0"
|
bool "optimization level 0"
|
||||||
|
depends on !BR2_PACKAGE_LINUX
|
||||||
help
|
help
|
||||||
Do not optimize. This is the default.
|
Do not optimize. This is the default.
|
||||||
|
|
||||||
config BR2_OPTIMIZE_1
|
config BR2_OPTIMIZE_1
|
||||||
bool "optimization level 1"
|
bool "optimization level 1"
|
||||||
|
depends on !BR2_PACKAGE_LINUX
|
||||||
help
|
help
|
||||||
Optimize. Optimizing compilation takes somewhat more time,
|
Optimize. Optimizing compilation takes somewhat more time,
|
||||||
and a lot more memory for a large function. With -O, the
|
and a lot more memory for a large function. With -O, the
|
||||||
|
|
Loading…
Reference in a new issue