[med-svn] [last-align] 04/08: make build compatible with -Wl, --as-needed
Andreas Tille
tille at debian.org
Mon Feb 5 09:44:34 UTC 2018
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository last-align.
commit 234c1da950ad15e169ede23d93ad670a49694f5a
Author: Andreas Tille <tille at debian.org>
Date: Mon Feb 5 10:30:53 2018 +0100
make build compatible with -Wl, --as-needed
---
debian/changelog | 3 +++
debian/rules | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 04f8743..db6384f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
last-align (921-1) UNRELEASED; urgency=medium
* New upstream version
+ * make build compatible with -Wl, --as-needed (thanks for the patch to
+ Steve Langasek <steve.langasek at canonical.com>)
+ Closes: #889506
-- Andreas Tille <tille at debian.org> Mon, 05 Feb 2018 10:29:19 +0100
diff --git a/debian/rules b/debian/rules
index ca0ef4b..fc925a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ CPPFLAGS += -DHAS_CXX_THREADS
# -Wconversion
# -fomit-frame-pointer ?
-LDFLAGS += -lpthread
+LDFLAGS += -pthread
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/last-align.git
More information about the debian-med-commit
mailing list