This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] Fix CFLAGS so that it is right for build libraries


After Paul Brook's patch for seeing if GMP is installed messed up the toplevel configure
so that the configure would replace the CFLAGS with "" (empty) which causes all the build
libraries to be build with "" and not "-O2 -g".


Applied as pre-approved by Diego.

Thanks,
Andrew Pinski

ChangeLog:

	* configure.in (GMP checking): s/save_CFLAGS/saved_CFLAGS.
	* configure: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.161.2.48
diff -u -p -r1.161.2.48 configure.in
--- configure.in	29 Apr 2004 19:43:42 -0000	1.161.2.48
+++ configure.in	3 May 2004 19:04:17 -0000
@@ -1135,7 +1135,7 @@ if test "x$gmplibs" = x; then
   gmplibs="-lgmp"
 fi

-save_CFLAGS="$CFLAGS"
+saved_CFLAGS="$CFLAGS"
 CFLAGS="$CFLAGS $gmpinc"
 # Check GMP actually works
 AC_MSG_CHECKING([for correct version of gmp.h])


Attachment: fixCFLAGS.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]