summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-09 11:49:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-09 11:49:23 +0000
commitb5faf430ccb6e25492398d13b2f62ec67e264e4a (patch)
treeb4db4edaa4d7cffe037580310290a10acc95d002
parent40967a5c0b975f3f3ec1538a820985aa61b65b8f (diff)
configure.in: -mstackrealign
* configure.in: -mstackrealign is necessary for -msse2 working. [ruby-core:54716] [Bug #8349] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog10
-rw-r--r--configure.in5
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ba337ff738..9731846e6df 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 9c95cc4d8a4..dae346b20e8 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