[med-svn] [Git][med-team/diamond-aligner][master] Restrict the use of the gold linker on architectures where it is not available

Michael R. Crusoe gitlab at salsa.debian.org
Tue Jan 14 08:26:50 GMT 2020



Michael R. Crusoe pushed to branch master at Debian Med / diamond-aligner


Commits:
ce87978b by Michael R. Crusoe at 2020-01-14T09:08:48+01:00
Restrict the use of the gold linker on architectures where it is not available

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+diamond-aligner (0.9.29+dfsg-5) unstable; urgency=medium
+
+  * Team upload.
+  * Restrict the use of the gold linker on architectures where it is not
+    available.
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Tue, 14 Jan 2020 08:54:46 +0100
+
 diamond-aligner (0.9.29+dfsg-4) unstable; urgency=medium
 
   * Breaks+Replaces: diamond


=====================================
debian/rules
=====================================
@@ -8,9 +8,12 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 include /usr/share/dpkg/default.mk
 
+# Use the gold linker where we can
+ifeq (,$(filter $(DEB_HOST_ARCH),hppa ia64 m68k riscv64 sh4))
 export LD=ld.gold
 export DEB_CFLAGS_MAINT_APPEND+=-fuse-ld=gold
 export DEB_CXXFLAGS_MAINT_APPEND+=-fuse-ld=gold
+endif
 
 ifeq (,$(filter $(DEB_HOST_ARCH),amd64 i386))
 	EXTRA=-DX86=OFF



View it on GitLab: https://salsa.debian.org/med-team/diamond-aligner/commit/ce87978ba411bfaabeddfd43c64e5c612dec254d

-- 
View it on GitLab: https://salsa.debian.org/med-team/diamond-aligner/commit/ce87978ba411bfaabeddfd43c64e5c612dec254d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200114/622a6086/attachment.html>


More information about the debian-med-commit mailing list