Bug#1121852: routino FTCBFS: uses the build architecture compiler as linker

Helmut Grohne helmut at subdivi.de
Wed Dec 3 06:38:17 GMT 2025


Source: routino
Version: 3.4.3-2
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

routino fails to cross build from source, because it uses the build
architecture compiler as linker. The upstream Makefiles use the LD
variable for linking and defaults it to gcc separately to CC.
Unfortunately, use of LD is inconsistent across upstream projects as
some use it for ld and others use it for gcc. Therefore, dh_auto_build
does not set LD and this is why the default is retained. I propose
changing its default upstream such that LD is initialized from CC. This
retains the user's ability to change LD separately from CC during build,
but when the user (or dh_auto_build) just sets CC, it'll get copied into
LD. Please find a patch attached.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 392 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20251203/588705e1/attachment.patch>


More information about the Pkg-grass-devel mailing list