Bug#744020: binutils: Enablling build of the gold linker on hurd-i386
Source: binutils
Version: 2.24-5
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd
Hello, for some reason build of the gold linker is not enabled for
GNU/Hurd. This linker is needed for e.g. gccgo. The attached patch fixes
this problem. Running the testsuite for gold (disabled by
30_gold_disable_testsuite_build.patch) shows that 195 of 199 tests
succeed.
Thanks!
--- a/debian/rules.orig 2014-04-08 14:55:41.000000000 +0200
+++ b/debian/rules 2014-04-09 10:54:47.000000000 +0200
@@ -88,7 +88,7 @@
SHELL = /bin/bash
-ifneq (,$(filter $(DEB_HOST_ARCH), amd64 armel armhf i386 powerpc powerpcspe ppc64 ppc64el sparc sparc64 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH), amd64 armel armhf i386 hurd-i386 powerpc powerpcspe ppc64 ppc64el sparc sparc64 x32))
with_gold = yes
gold_provides = -Vgold:Provides=binutils-gold
endif
Reply to: