1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
naruse 2016-05-10 04:36:33 +00:00
parent fbf22f2da1
commit 518713fd65
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Tue May 10 13:07:28 2016 NARUSE, Yui <naruse@ruby-lang.org>
* 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
Mon May 9 10:51:59 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (rb_thread_atfork_internal): move th to an argument.

View file

@ -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