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

ruby-changes:32817

From: akr <ko1@a...>
Date: Sun, 9 Feb 2014 14:01:02 +0900 (JST)
Subject: [ruby-changes:32817] akr:r44896 (trunk): * configure.in: Fix compilation error.

akr	2014-02-09 14:00:57 +0900 (Sun, 09 Feb 2014)

  New Revision: 44896

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

  Log:
    * configure.in: Fix compilation error.
      https://bugs.ruby-lang.org/issues/8358#note-16

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 44895)
+++ configure.in	(revision 44896)
@@ -867,8 +867,13 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L867
 	[[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)])
 	    ])
+            AS_CASE(["$XCFLAGS"],
+                [[*-msse2*]], [
+                    RUBY_TRY_CFLAGS(-mstackrealign, [
+                        RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign)
+                    ])
+                ])
 	]
     )
 fi
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44895)
+++ ChangeLog	(revision 44896)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Feb  9 13:59:29 2014  Tanaka Akira  <akr@f...>
+
+	* configure.in: Fix compilation error.
+	  https://bugs.ruby-lang.org/issues/8358#note-16
+
 Sun Feb  9 05:20:24 2014  NARUSE, Yui  <naruse@r...>
 
 	* configure.in (rb_cv_gnu_qsort_r): use compile error "conflicting

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

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