mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
||||
* 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*], [
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue