diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-16 02:09:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-16 02:09:48 +0000 |
commit | 74477ec2b3904a0f39f11294d2bb336fb73586df (patch) | |
tree | 31efa0d5998f8d9ea9ca4542537b9425109d83a2 | |
parent | d0318b8cfdc9dfd357b30b4394e5af9831de215d (diff) | |
download | ruby-74477ec2b3904a0f39f11294d2bb336fb73586df.tar.gz |
Strip warnflags
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d22bba15e2..d656ccf898 100644 --- a/configure.ac +++ b/configure.ac @@ -3594,6 +3594,7 @@ AS_IF([test "${ARCH_FLAG}"], [ CXXFLAGS=`echo "$CXXFLAGS" | sed "s| *$archflagpat"'||'` LDFLAGS=`echo "$LDFLAGS" | sed "s| *$archflagpat"'||'` ]) +rb_cv_warnflags=`echo "$rb_cv_warnflags" | sed 's/^ */;s/ *$/'` warnflags="$rb_cv_warnflags" AC_SUBST(cppflags)dnl AC_SUBST(cflags, ["${orig_cflags:+$orig_cflags }"'${optflags} ${debugflags} ${warnflags}'])dnl |