This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=366effebfc36340ca172b8b0b685cf5c82312ccf commit 366effebfc36340ca172b8b0b685cf5c82312ccf Author: Guillem Jover <[email protected]> AuthorDate: Sat Nov 19 17:29:15 2022 +0100 scripts/mk: Switch Fortran compiler variables to use gfortran The f77 names are handled via alternatives, which means they can vary depending on the local system configuration, not ideal for reproducible builds. These also do not provide arch-qualified filenames, so cannot be used for automatic cross-compilation. Use the gfortran name, which should provide at least a Fortran 95 compliant compiler (including Fortran 77 and 90). Spotted-by: Enrico Zini <[email protected]> Closes: #1024421 --- scripts/mk/buildtools.mk | 4 ++-- scripts/t/mk.t | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mk/buildtools.mk b/scripts/mk/buildtools.mk index ea5082935..dc28017bb 100644 --- a/scripts/mk/buildtools.mk +++ b/scripts/mk/buildtools.mk @@ -65,8 +65,8 @@ $(eval $(call dpkg_buildtool_setvar,CXX,g++)) $(eval $(call dpkg_buildtool_setvar,OBJC,gcc)) $(eval $(call dpkg_buildtool_setvar,OBJCXX,g++)) $(eval $(call dpkg_buildtool_setvar,GCJ,gcj)) -$(eval $(call dpkg_buildtool_setvar,F77,f77)) -$(eval $(call dpkg_buildtool_setvar,FC,f77)) +$(eval $(call dpkg_buildtool_setvar,F77,gfortran)) +$(eval $(call dpkg_buildtool_setvar,FC,gfortran)) $(eval $(call dpkg_buildtool_setvar,LD,ld)) $(eval $(call dpkg_buildtool_setvar,STRIP,strip,nostrip)) $(eval $(call dpkg_buildtool_setvar,OBJCOPY,objcopy)) diff --git a/scripts/t/mk.t b/scripts/t/mk.t index aa604c587..95780b3d7 100644 --- a/scripts/t/mk.t +++ b/scripts/t/mk.t @@ -106,8 +106,8 @@ my %buildtools = ( OBJC => 'gcc', OBJCXX => 'g++', GCJ => 'gcj', - F77 => 'f77', - FC => 'f77', + F77 => 'gfortran', + FC => 'gfortran', LD => 'ld', STRIP => 'strip', OBJCOPY => 'objcopy', -- Dpkg.Org's dpkg

