[前][次][番号順一覧][スレッド一覧]

ruby-changes:32811

From: nobu <ko1@a...>
Date: Sat, 8 Feb 2014 23:40:42 +0900 (JST)
Subject: [ruby-changes:32811] nobu:r44890 (trunk): configure.in: Properly detect platform for SSE2 instructions.

nobu	2014-02-08 23:40:36 +0900 (Sat, 08 Feb 2014)

  New Revision: 44890

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44890

  Log:
    configure.in: Properly detect platform for SSE2 instructions.
    
    * configure.in: add qouting brackets and append wildcard for the
      rest after target_cpu, to properly detect platform for SSE2
      instructions.  [ruby-core:60576] [Bug #8358]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 44889)
+++ configure.in	(revision 44890)
@@ -864,7 +864,7 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L864
 	[*-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)])
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44889)
+++ ChangeLog	(revision 44890)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Feb  8 23:40:35 2014  Vit Ondruch  <vondruch@r...>
+
+	* configure.in: add qouting brackets and append wildcard for the
+	  rest after target_cpu, to properly detect platform for SSE2
+	  instructions.  [ruby-core:60576] [Bug #8358]
+
 Sat Feb  8 21:44:07 2014  Masaki Matsushita  <glass.saga@g...>
 
 	* configure.in: check qsort_r(3) and whether it is GNU version.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]