diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-10 04:36:33 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-10 04:36:33 +0000 |
commit | 518713fd651c8d53a6493a354eadb41361c18029 (patch) | |
tree | 2d4df39759e65be017188981452ccfdfbb35556e /configure.in | |
parent | fbf22f2da1c82a5b280c95c3751e493622c10a04 (diff) | |
download | ruby-518713fd651c8d53a6493a354eadb41361c18029.tar.gz |
* configure.in (-fexcess-precision=standard): before r54895 -std=c99
is specified and it implied -fexcess-precision=standard.
Now with -std=gnu99, it should be explicitly specified.
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 8fb0643312..7a90c18e7b 100644 --- a/configure.in +++ b/configure.in @@ -967,7 +967,7 @@ if test "$GCC" = yes; then ]) # disable fast-math - for oflag in -fno-fast-math -fp-model\ precise; do + for oflag in -fno-fast-math -fexcess-precision=standard -fp-model\ precise; do RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)]) done fi |