ruby-changes:18597
From: nobu <ko1@a...>
Date: Fri, 21 Jan 2011 18:15:39 +0900 (JST)
Subject: [ruby-changes:18597] Ruby:r30621 (trunk): * configure.in: should not use -Werror=* flags while conftests.
nobu 2011-01-21 18:15:30 +0900 (Fri, 21 Jan 2011) New Revision: 30621 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30621 Log: * configure.in: should not use -Werror=* flags while conftests. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 30620) +++ configure.in (revision 30621) @@ -469,6 +469,8 @@ AS_CASE([" $warnflags "],[*" -Wno-missing-field-initializers "*], [wflag=-Wextra], [wflag=-Wall]) RUBY_TRY_CFLAGS($wflag, [warnflags="$wflag${warnflags+ $warnflags}"]) + rb_cv_warnflags="$warnflags" + warnflags= fi if test "$GCC" = yes; then RUBY_TRY_CFLAGS(-fvisibility=hidden, [RUBY_APPEND_OPTION(XCFLAGS, -fvisibility=hidden)]) @@ -2579,6 +2581,7 @@ CXXFLAGS=`echo "$CXXFLAGS" | sed "s|$archflagpat"'|$(ARCH_FLAG)|'` LDFLAGS=`echo "$LDFLAGS" | sed "s|$archflagpat"'|$(ARCH_FLAG)|'` fi +warnflags="$rb_cv_warnflags" AC_SUBST(cppflags, [])dnl AC_SUBST(cflags, ["$orig_cflags "'${optflags} ${debugflags} ${warnflags}'])dnl AC_SUBST(cxxflags, ["$orig_cxxflags "'${optflags} ${debugflags} ${warnflags}'])dnl Index: ChangeLog =================================================================== --- ChangeLog (revision 30620) +++ ChangeLog (revision 30621) @@ -1,3 +1,7 @@ +Fri Jan 21 18:15:09 2011 Nobuyoshi Nakada <nobu@r...> + + * configure.in: should not use -Werror=* flags while conftests. + Fri Jan 21 09:17:00 2011 Luis Lavena <luislavena@g...> * configure.in: Fix incorrectly detected x86_64-w64-mingw32 due -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/