From: Samuel Martin Date: Fri, 1 Jul 2016 16:29:09 +0000 (+0200) Subject: package/Makefile.in: set variables for legacy f77 checks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35e980f324096b291203f26399e58269b0dda092;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- 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)