diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 13 insertions, 2 deletions
@@ -1,4 +1,12 @@ -Thu Jan 9 20:46:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> +Thu Jan 9 20:49:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in: -mstackrealign is necessary for -msse2 working. + [ruby-core:54716] [Bug #8349] + +Thu Jan 9 20:49:06 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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] diff --git a/configure.in b/configure.in index 9c95cc4d8a..dae346b20e 100644 --- a/configure.in +++ b/configure.in @@ -862,7 +862,10 @@ if test "$GCC" = yes; then # 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 |