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

ruby-changes:35745

From: nobu <ko1@a...>
Date: Tue, 7 Oct 2014 11:28:20 +0900 (JST)
Subject: [ruby-changes:35745] nobu:r47827 (trunk): configure.in: remove arch options from CXXFLAGS

nobu	2014-10-07 11:28:13 +0900 (Tue, 07 Oct 2014)

  New Revision: 47827

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

  Log:
    configure.in: remove arch options from CXXFLAGS
    
    * configure.in (RUBY_UNIVERSAL_ARCH): remove arch options from
      CXXFLAGS, not only CFLAGS.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 47826)
+++ configure.in	(revision 47827)
@@ -313,6 +313,8 @@ AC_MSG_RESULT([$ARCH_FLAG]) https://github.com/ruby/ruby/blob/trunk/configure.in#L313
 
 AC_DEFUN([RUBY_UNIVERSAL_ARCH], [
 # RUBY_UNIVERSAL_ARCH begin
+ARCH_FLAG=`expr " $CXXFLAGS " : ['.* \(-m[0-9][0-9]*\) ']`
+test ${CXXFLAGS+set} && CXXFLAGS=`echo "$CXXFLAGS" | sed [-e 's/ *-arch  *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g']`
 ARCH_FLAG=`expr " $CFLAGS " : ['.* \(-m[0-9][0-9]*\) ']`
 test ${CFLAGS+set} && CFLAGS=`echo "$CFLAGS" | sed [-e 's/ *-arch  *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g']`
 test ${LDFLAGS+set} && LDFLAGS=`echo "$LDFLAGS" | sed [-e 's/ *-arch  *[^ ]*//g' -e 's/ *-m32//g' -e 's/ *-m64//g']`

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

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