diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-04-22 23:12:07 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-04-24 10:56:56 +0200 |
commit | 71d2d37005479cbc86cf8cb97ab1aa84c2cbb89a (patch) | |
tree | f276374d041e3c46c724582dec2c26d33d01055c /src/tool_homedir.c | |
parent | 7474418074f7c108f10fcbbf5e6e045484488dc9 (diff) |
curl-compilers.m4: accept -Og and -Ofast GCC flags
-Og, introduced in GCC 4.8, optimizes for debugging experience.
-Ofast, introduced in GCC 4.7, builds on -O3 and enables further
optimizations breaking strict standards compliance.
When specified in CFLAGS, these were always overridden by -O0 or -O2.
Fix this by adding them to flags_opt_all.
Ref: https://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Optimize-Options.html
Ref: https://github.com/curl/curl/pull/1404#issuecomment-296401570
Closes https://github.com/curl/curl/pull/1440
Diffstat (limited to 'src/tool_homedir.c')
0 files changed, 0 insertions, 0 deletions