From 441ca997c9c48ac4e2e89c012cb6b522c822b8c0 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 13 Mar 2009 09:58:05 +0000 Subject: * configure.in (CFLAGS, CXXFLAGS): moved after warnflags. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 6cbd8ecbd..f1400a842 100644 --- a/configure.in +++ b/configure.in @@ -221,8 +221,6 @@ if test "$GCC" = yes; then else linker_flag= fi -CFLAGS="${CFLAGS} `eval echo $cflags`" -CXXFLAGS="${CXXFLAGS} `eval echo $cxxflags`" RUBY_PROG_GNU_LD RUBY_CPPOUTFILE @@ -335,6 +333,9 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then warnflags="-Wall -Wno-unused-parameter -Wno-parentheses ${warnflags+$warnflags }-Wpointer-arith -Wwrite-strings" fi +CFLAGS="${CFLAGS} `eval echo $cflags`" +CXXFLAGS="${CXXFLAGS} `eval echo $cxxflags`" + dnl check for large file stuff mv confdefs.h confdefs1.h : > confdefs.h -- cgit