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]

Re: [PATCH] Fix FCFLAGS handing in libgfortran/configure.ac


Tobias Schlüter wrote:
Richard Guenther wrote:

The current setup doesn't allow overriding of compile-flags with
setting FCFLAGS.  Fixed by moving needed flags to AM_FCFLAGS.

Ok for mainline/4.0?


This looks like it's obvious, if one knows what autoconf's doing, which I
don't, but you probably do.

It's more automake than autoconf actually. Basically FCFLAGS is left for the user, and the flags that are really necessary for compilation to succeed go into AM_FCFLAGS. For example, AM_CPPFLAGS should contain the -Iabc options to find the include files (traditionally named INCLUDES in programs/libraries not using automake).


Paolo


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