Source: irsim
Version: 9.7.101-1
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

irsim fails to cross build from source, because the upstream build
system hard codes the build architecture ld. It also correctly detects
the host architecture ld, but fails to use it in one occasion. The
attached patch fixes that. Please consider applying it.

Helmut
--- irsim-9.7.101.orig/scripts/defs.mak.in
+++ irsim-9.7.101/scripts/defs.mak.in
@@ -52,8 +52,8 @@
 CP                     = cp
 AR                     = ar
 ARFLAGS                = crv
-LINK                   = ld -r
 LD                     = @LD@
+LINK                   = $(LD) -r
 M4		       = @M4@
 RANLIB                 = @RANLIB@
 SHDLIB_EXT             = @SHDLIB_EXT@

Reply via email to