mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
Config.in: update BR2_OPTIMIZE_FAST prompt and help text
Update label as suggested by Stéphane Veyret, as -Ofast is potentially
dangerous, and may break packages.
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=13046
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3e186cee00)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
f62754d36e
commit
bb434a28b8
@@ -516,13 +516,14 @@ config BR2_OPTIMIZE_S
|
|||||||
This is the default.
|
This is the default.
|
||||||
|
|
||||||
config BR2_OPTIMIZE_FAST
|
config BR2_OPTIMIZE_FAST
|
||||||
bool "optimize for fast"
|
bool "optimize for fast (may break packages!)"
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
|
||||||
help
|
help
|
||||||
Optimize for fast. Disregard strict standards
|
Optimize for fast. Disregard strict standards
|
||||||
compliance. -Ofast enables all -O3 optimizations. It also
|
compliance. -Ofast enables all -O3 optimizations. It also
|
||||||
enables optimizations that are not valid for all
|
enables optimizations that are not valid for all
|
||||||
standard-compliant programs. It turns on -ffast-math and the
|
standard-compliant programs, so be careful, as it may break
|
||||||
|
some packages. It turns on -ffast-math and the
|
||||||
Fortran-specific -fstack-arrays, unless -fmax-stack-var-size
|
Fortran-specific -fstack-arrays, unless -fmax-stack-var-size
|
||||||
is specified, and -fno-protect-parens.
|
is specified, and -fno-protect-parens.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user