mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Disable fast-math
As `RUBY_TRY_CFLAGS` restores `CFLAGS`, appending to the variable in its block has no effect.
This commit is contained in:
parent
b409a34b41
commit
0d5a4d6d49
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ AS_IF([test "$GCC" = yes], [
|
|||
|
||||
# disable fast-math
|
||||
for oflag in -fno-fast-math; do
|
||||
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(CFLAGS, $oflag)])
|
||||
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
|
||||
done
|
||||
for oflag in -fexcess-precision=standard -fp-model\ precise; do
|
||||
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(XCFLAGS, $oflag)])
|
||||
|
|
Loading…
Add table
Reference in a new issue