libgfortran @CFLAGS@

David Edelsohn dje@watson.ibm.com
Wed Jul 4 12:10:00 GMT 2007


	The recent patch to libgfortran/Makefile.in regenerating it with
automake 1.9.6 introduced CFLAGS:

@@ -294,6 +294,7 @@
 AWK = @AWK@
 CC = @CC@
 CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
 CPP = @CPP@
 CPPFLAGS = @CPPFLAGS@
 CYGPATH_W = @CYGPATH_W@

This is causing a failure on AIX because @CFLAGS@ is not SUBST.

	The following patch adds CFLAGS to the variables substituted.
Bootstrapped on powerpc-ibm-aix5.2.0.0.  Steve Kargl said it was okay, but
I want to check with an build maintainer.

	Okay for mainline?

Thanks, David

	* configure.ac: SUBST CFLAGS.
	* configure: Regenerate.

Index: configure.ac
===================================================================
--- configure.ac	(revision 126296)
+++ configure.ac	(working copy)
@@ -121,6 +121,7 @@
 fi
 AC_SUBST(AM_FCFLAGS)
 AC_SUBST(AM_CFLAGS)
+AC_SUBST(CFLAGS)
 
 # Check for symbol versioning (copied from libssp).
 AC_MSG_CHECKING([whether symbol versioning is supported])



More information about the Fortran mailing list