diff --git a/configure.ac b/configure.ac index a585ce8e4b..252315056c 100644 --- a/configure.ac +++ b/configure.ac @@ -3595,7 +3595,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/ *$/'` +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