From d202fd4f97f6f871887cb9c92cf3cc3b39175434 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 13 Mar 2009 09:58:05 +0000 Subject: [PATCH] * configure.in (CFLAGS, CXXFLAGS): moved after warnflags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ configure.in | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e9d4ac2290..0173b592c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Mar 13 18:58:04 2009 Nobuyoshi Nakada + + * configure.in (CFLAGS, CXXFLAGS): moved after warnflags. + Fri Mar 13 18:10:06 2009 Nobuyoshi Nakada * vm_eval.c (rb_throw_obj): inverted call flow. [ruby-core:22872] diff --git a/configure.in b/configure.in index 6cbd8ecbd1..f1400a842a 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