* configure.in (ruby_cflags): separate from optflags [Bug #12409]
-fexcess-precision=standard and -fp-model precise are set to this now. * configure.in (cflags): use ruby_cflags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0a31f4f23
commit
80db1d6145
@ -1,3 +1,10 @@
|
|||||||
|
Tue May 24 16:37:43 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (ruby_cflags): separate from optflags [Bug #12409]
|
||||||
|
-fexcess-precision=standard and -fp-model precise are set to this now.
|
||||||
|
|
||||||
|
* configure.in (cflags): use ruby_cflags.
|
||||||
|
|
||||||
Tue May 24 16:20:53 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue May 24 16:20:53 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (ERRORFUNC, WARNINGFUNC): __error__ and __warning__
|
* configure.in (ERRORFUNC, WARNINGFUNC): __error__ and __warning__
|
||||||
|
@ -967,9 +967,12 @@ if test "$GCC" = yes; then
|
|||||||
])
|
])
|
||||||
|
|
||||||
# disable fast-math
|
# disable fast-math
|
||||||
for oflag in -fno-fast-math -fexcess-precision=standard -fp-model\ precise; do
|
for oflag in -fno-fast-math; do
|
||||||
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
|
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
|
||||||
done
|
done
|
||||||
|
for oflag in -fexcess-precision=standard -fp-model\ precise; do
|
||||||
|
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(ruby_cflags, $oflag)])
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH(opt-dir,
|
AC_ARG_WITH(opt-dir,
|
||||||
@ -4219,7 +4222,8 @@ if test "${ARCH_FLAG}"; then
|
|||||||
fi
|
fi
|
||||||
warnflags="$rb_cv_warnflags"
|
warnflags="$rb_cv_warnflags"
|
||||||
AC_SUBST(cppflags)dnl
|
AC_SUBST(cppflags)dnl
|
||||||
AC_SUBST(cflags, ["${orig_cflags:+$orig_cflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
|
AC_SUBST(ruby_cflags)dnl
|
||||||
|
AC_SUBST(cflags, ["${orig_cflags:+$orig_cflags }${ruby_cflags:+$ruby_cflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
|
||||||
AC_SUBST(cxxflags, ["${orig_cxxflags:+$orig_cxxflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
|
AC_SUBST(cxxflags, ["${orig_cxxflags:+$orig_cxxflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
|
||||||
AC_SUBST(optflags)dnl
|
AC_SUBST(optflags)dnl
|
||||||
AC_SUBST(debugflags)dnl
|
AC_SUBST(debugflags)dnl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user