ruby-changes:57613
From: Nobuyoshi <ko1@a...>
Date: Fri, 6 Sep 2019 18:44:18 +0900 (JST)
Subject: [ruby-changes:57613] 733aa2f8b5 (master): Stop setting same flags as cflags to cxxflags
https://git.ruby-lang.org/ruby.git/commit/?id=733aa2f8b5 From 733aa2f8b578d03bbcb91d2f496b01e3b990c7e8 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 6 Sep 2019 18:43:10 +0900 Subject: Stop setting same flags as cflags to cxxflags diff --git a/configure.ac b/configure.ac index 2a71a91..90b5a40 100644 --- a/configure.ac +++ b/configure.ac @@ -162,11 +162,11 @@ AS_IF([test -z "${CFLAGS+set}"], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L162 orig_cflags="$cflags" cflags="$cflags "'${optflags} ${debugflags} ${warnflags}' ]) -AS_IF([test -z "${CXXFLAGS+set}"], [ - cxxflags=`echo " $cxxflags " | sed "$cflagspat;s/^ *//;s/ *$//"` - orig_cxxflags="$cxxflags" - cxxflags="$cxxflags "'${optflags} ${debugflags} ${warnflags}' -]) +dnl AS_IF([test -z "${CXXFLAGS+set}"], [ +dnl cxxflags=`echo " $cxxflags " | sed "$cflagspat;s/^ *//;s/ *$//"` +dnl orig_cxxflags="$cxxflags" +dnl cxxflags="$cxxflags "'${optflags} ${debugflags} ${warnflags}' +dnl ]) AS_CASE(["$host_os:$build_os"], [darwin*:darwin*], [ @@ -3594,7 +3594,7 @@ rb_cv_warnflags=`echo "$rb_cv_warnflags" | sed 's/^ *//;s/ *$//'` https://github.com/ruby/ruby/blob/trunk/configure.ac#L3594 warnflags="$rb_cv_warnflags" AC_SUBST(cppflags)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(cxxflags)dnl AC_SUBST(optflags)dnl AC_SUBST(debugflags)dnl AC_SUBST(warnflags)dnl -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/