* configure.in: add -static-libgcc for mingw automatically if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c0759555f
commit
f74c229c08
@ -1,3 +1,7 @@
|
|||||||
|
Thu Nov 19 01:48:05 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: add -static-libgcc for mingw automatically if available.
|
||||||
|
|
||||||
Thu Nov 19 00:53:26 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
Thu Nov 19 00:53:26 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* ext/extmk.rb (--extflags): new option to pass EXTLDFLAGS to children,
|
* ext/extmk.rb (--extflags): new option to pass EXTLDFLAGS to children,
|
||||||
|
@ -944,6 +944,10 @@ if test "$GCC" = yes; then
|
|||||||
|
|
||||||
AS_CASE(["$target_os"], [mingw*], [
|
AS_CASE(["$target_os"], [mingw*], [
|
||||||
RUBY_TRY_CFLAGS(-fno-omit-frame-pointer, [optflags="${optflags+$optflags }-fno-omit-frame-pointer"])
|
RUBY_TRY_CFLAGS(-fno-omit-frame-pointer, [optflags="${optflags+$optflags }-fno-omit-frame-pointer"])
|
||||||
|
RUBY_TRY_CFLAGS(-static-libgcc, [static_libgcc=yes], [static_libgcc=no])
|
||||||
|
if test "$static_libgcc" = yes; then
|
||||||
|
RUBY_APPEND_OPTION(EXTLDFLAGS, -static-libgcc)
|
||||||
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
# disable fast-math
|
# disable fast-math
|
||||||
|
Loading…
x
Reference in New Issue
Block a user