aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--configure.in5
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ba337ff73..9731846e6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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