[emos] 02/02: Link "--as-needed"
Alastair McKinstry
mckinstry at moszumanska.debian.org
Tue Jan 5 16:23:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository emos.
commit 640ce699eeefc3508daf25ebc898cd4056bbd978
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Wed Nov 4 19:18:43 2015 +0000
Link "--as-needed"
---
debian/changelog | 5 +++--
debian/rules | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3f54b46..10b4a75 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
-emoslib (2:4.1.1-6) UNRELEASED; urgency=medium
+emoslib (2:4.1.1-6) unstable; urgency=medium
* Use -fPIC building on s390x to resolve GOT linking errors
+ * Link "--as-needed"
- -- Alastair McKinstry <mckinstry at debian.org> Wed, 04 Nov 2015 19:12:20 +0000
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 06 Nov 2015 19:12:20 +0000
emoslib (2:4.1.1-5) unstable; urgency=medium
diff --git a/debian/rules b/debian/rules
index 9c044a5..762524f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,8 @@
%:
dh $@ --buildsystem=cmake
+export DEB_LDFLAGS_MAINT_PREPEND := -Wl,-z,defs -Wl,--as-needed
+
DESTDIR:=$(shell pwd)/debian/tmp
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
ARCH:=$(shell dpkg --print-architecture)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/emos.git
More information about the debian-science-commits
mailing list