diff options
| author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2020-07-16 23:44:51 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2020-07-18 16:05:01 +0200 |
| commit | 3e186cee008f94f6a33adeac329b13087ab11ddb (patch) | |
| tree | 70685bebd5fe4a61bb34d663efdc97955af6545c | |
| parent | 2ca689a68fd31ad49f465b2f5032e44dd32b48e6 (diff) | |
| download | buildroot-3e186cee008f94f6a33adeac329b13087ab11ddb.tar.bz2 | |
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>
| -rw-r--r-- | Config.in | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -521,13 +521,14 @@ config BR2_OPTIMIZE_S This is the default. config BR2_OPTIMIZE_FAST - bool "optimize for fast" + bool "optimize for fast (may break packages!)" depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 help Optimize for fast. Disregard strict standards compliance. -Ofast enables all -O3 optimizations. It also 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 is specified, and -fno-protect-parens. |
