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

ruby-changes:43074

From: nobu <ko1@a...>
Date: Wed, 25 May 2016 00:22:01 +0900 (JST)
Subject: [ruby-changes:43074] nobu:r55148 (trunk): configure.in: merge ruby_cflags to XCFLAGS

nobu	2016-05-25 00:21:53 +0900 (Wed, 25 May 2016)

  New Revision: 55148

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

  Log:
    configure.in: merge ruby_cflags to XCFLAGS
    
    * configure.in (XCFLAGS): merge flags only for ruby itself from
      ruby_cflags.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 55147)
+++ configure.in	(revision 55148)
@@ -971,7 +971,7 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L971
 	RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
     done
     for oflag in -fexcess-precision=standard -fp-model\ precise; do
-	RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(ruby_cflags, $oflag)])
+	RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(XCFLAGS, $oflag)])
     done
 fi
 
@@ -4222,8 +4222,7 @@ if test "${ARCH_FLAG}"; then https://github.com/ruby/ruby/blob/trunk/configure.in#L4222
 fi
 warnflags="$rb_cv_warnflags"
 AC_SUBST(cppflags)dnl
-AC_SUBST(ruby_cflags)dnl
-AC_SUBST(cflags, ["${orig_cflags:+$orig_cflags }${ruby_cflags:+$ruby_cflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
+AC_SUBST(cflags, ["${orig_cflags:+$orig_cflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
 AC_SUBST(cxxflags, ["${orig_cxxflags:+$orig_cxxflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
 AC_SUBST(optflags)dnl
 AC_SUBST(debugflags)dnl
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55147)
+++ ChangeLog	(revision 55148)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed May 25 00:21:52 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in (XCFLAGS): merge flags only for ruby itself from
+	  ruby_cflags.
+
 Tue May 24 22:04:15 2016  Kazuki Yamaguchi  <k@r...>
 
 	* ext/openssl/ossl_cipher.c (ossl_cipher_set_key, ossl_cipher_set_iv):

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

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