Package: dpkg-dev
Version: 1.21.9
File: /usr/share/dpkg/buildtools.mk
X-Debbugs-Cc: Enrico Zini <enr...@debian.org>

Hi Guillem,

Enrico discovered, that the FC variable initialized by dpkg's
buildtools.mk points at f77. During native builds this works, but during
cross builds it becomes triplet-f77, which doesn't exist and isn't
managed using update-alternatives.

Indeed, there are different providers of f77. Does it really make sense
to refer to a name provided by update-alternatives at build time where
we want to minimize influence of the environment? (I think buildinfo
does not track update-alternatives choices.)

Does it make more sense to use e.g. gfortran (as that's basically used
everywhere) or does it make more sense to provide those triplet-f77 as
well?

Helmut

Reply via email to