This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

libgfortran @CFLAGS@


	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])


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