зеркало из https://github.com/github/ruby.git
* 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:
Родитель
e0a31f4f23
Коммит
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>
|
||||
|
||||
* configure.in (ERRORFUNC, WARNINGFUNC): __error__ and __warning__
|
||||
|
|
|
@ -967,9 +967,12 @@ if test "$GCC" = yes; then
|
|||
])
|
||||
|
||||
# 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)])
|
||||
done
|
||||
for oflag in -fexcess-precision=standard -fp-model\ precise; do
|
||||
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(ruby_cflags, $oflag)])
|
||||
done
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(opt-dir,
|
||||
|
@ -4219,7 +4222,8 @@ if test "${ARCH_FLAG}"; then
|
|||
fi
|
||||
warnflags="$rb_cv_warnflags"
|
||||
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(optflags)dnl
|
||||
AC_SUBST(debugflags)dnl
|
||||
|
|
Загрузка…
Ссылка в новой задаче