aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bed71ec76..18a1201ad5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 15 21:18:43 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
+
+ * configure.in: enable SSE2 on mingw. target='i386-pc-mingw32'.
+ [ruby-core:62095] [Bug #8358]
+
Thu May 15 21:04:06 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com>
* lib/test/unit/parallel.rb: fix test-all parallel failure if a test
diff --git a/configure.in b/configure.in
index cf317af87a..8ac3134509 100644
--- a/configure.in
+++ b/configure.in
@@ -874,7 +874,7 @@ if test "$GCC" = yes; then
[*-darwin*], [
# doesn't seem necessary on Mac OS X
],
- [[i[4-6]86*]], [
+ [[i[4-6]86*|i386*mingw*]], [
RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [
RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse)
])