ruby-changes:40577
From: usa <ko1@a...>
Date: Thu, 19 Nov 2015 01:48:46 +0900 (JST)
Subject: [ruby-changes:40577] usa:r52656 (trunk): * configure.in: add -static-libgcc for mingw automatically if available.
usa 2015-11-19 01:48:37 +0900 (Thu, 19 Nov 2015) New Revision: 52656 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52656 Log: * configure.in: add -static-libgcc for mingw automatically if available. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 52655) +++ configure.in (revision 52656) @@ -944,6 +944,10 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L944 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 Index: ChangeLog =================================================================== --- ChangeLog (revision 52655) +++ ChangeLog (revision 52656) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Nov 19 01:48:05 2015 NAKAMURA Usaku <usa@r...> + + * configure.in: add -static-libgcc for mingw automatically if available. + Thu Nov 19 00:53:26 2015 NAKAMURA Usaku <usa@r...> * ext/extmk.rb (--extflags): new option to pass EXTLDFLAGS to children, -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/