From 648fe847033f39be194370e30b78f17cbcd1b0ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Sat, 8 Feb 2014 12:41:25 +0100 Subject: [PATCH] Properly detect platform for SSE2 instructions. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 84aec14..42ea67e 100644 --- a/configure.in +++ b/configure.in @@ -864,7 +864,7 @@ if test "$GCC" = yes; then [*-darwin*], [ # doesn't seem necessary on Mac OS X ], - [i[4-6]86], [ + [[i[4-6]86*]], [ RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [ RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse) RUBY_TRY_CFLAGS(-mstackrealign, [RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign)]) -- 1.8.5.3