ruby-changes:32460
From: nobu <ko1@a...>
Date: Thu, 9 Jan 2014 20:49:28 +0900 (JST)
Subject: [ruby-changes:32460] nobu:r44539 (trunk): configure.in: -mstackrealign
nobu 2014-01-09 20:49:23 +0900 (Thu, 09 Jan 2014) New Revision: 44539 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44539 Log: configure.in: -mstackrealign * configure.in: -mstackrealign is necessary for -msse2 working. [ruby-core:54716] [Bug #8349] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 44538) +++ configure.in (revision 44539) @@ -862,7 +862,10 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L862 # doesn't seem necessary on Mac OS X ], [i[4-6]86], [ - RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse)]) + RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [ + RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse) + RUBY_TRY_CFLAGS(-mstackrealign, [RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign)]) + ]) ] ) fi Index: ChangeLog =================================================================== --- ChangeLog (revision 44538) +++ ChangeLog (revision 44539) @@ -1,4 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 -Thu Jan 9 20:46:22 2014 Nobuyoshi Nakada <nobu@r...> +Thu Jan 9 20:49:22 2014 Nobuyoshi Nakada <nobu@r...> + + * configure.in: -mstackrealign is necessary for -msse2 working. + [ruby-core:54716] [Bug #8349] + +Thu Jan 9 20:49:06 2014 Nobuyoshi Nakada <nobu@r...> + + * configure.in: -mstackrealign is necessary for -msse2 working. + [ruby-core:54716] [Bug #8349] * configure.in: use SSE2 instructions to drop unexpected precisions on other than mingw. [ruby-core:59472] [Bug #8358] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/