diff options
author | Samuel Martin <s.martin49@gmail.com> | 2016-07-01 18:29:09 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-01 23:01:25 +0200 |
commit | 35e980f324096b291203f26399e58269b0dda092 (patch) | |
tree | ceb4844304af65c82a5c9819e9d1b5f6737562ec /package/Makefile.in | |
parent | 43e257d86d74eafc82919994a8f55e9254108620 (diff) | |
download | buildroot-35e980f324096b291203f26399e58269b0dda092.tar.gz buildroot-35e980f324096b291203f26399e58269b0dda092.zip |
package/Makefile.in: set variables for legacy f77 checks
For fortran detection, some projects check for fortran availability
using the FC/FCFLAGS variables, and others for the legacy F77/FFLAGS
ones.
So, make sure the legacy fortran F77 and FFLAGS variables are set in
TARGET_CONFIGURE_OPTS.
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/Makefile.in')
-rw-r--r-- | package/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in index 471f687ddd..afd5d3a59b 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -250,6 +250,7 @@ TARGET_CONFIGURE_OPTS = \ CPP="$(TARGET_CPP)" \ CXX="$(TARGET_CXX)" \ FC="$(TARGET_FC)" \ + F77="$(TARGET_FC)" \ RANLIB="$(TARGET_RANLIB)" \ READELF="$(TARGET_READELF)" \ STRIP="$(TARGET_STRIP)" \ @@ -273,6 +274,7 @@ TARGET_CONFIGURE_OPTS = \ CXXFLAGS="$(TARGET_CXXFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ FCFLAGS="$(TARGET_FCFLAGS)" \ + FFLAGS="$(TARGET_FCFLAGS)" \ PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ STAGING_DIR="$(STAGING_DIR)" \ INTLTOOL_PERL=$(PERL) |