diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2015-05-09 23:59:14 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2015-05-09 23:59:47 +0000 |
commit | e61c15cb65c5f29be524d4cf9fcd3e26c9fd40b4 (patch) | |
tree | ff51e632e733ca006ee2adcc6580ee09944bed42 | |
parent | 5cc76c7c7e81fbab8c9501fdb0686b84d2a64670 (diff) |
Fix use of -Wl,--as-needed in LDFLAGS.
-rw-r--r-- | debian/changelog | 1 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index e6a1ae5..c727d9c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ ntdb (1.0-7) UNRELEASED; urgency=medium * Add reproducible.diff: Make manual page builds reproducible. + * Fix use of -Wl,--as-needed in LDFLAGS. -- Jelmer Vernooij <jelmer@debian.org> Sat, 09 May 2015 23:56:14 +0000 diff --git a/debian/rules b/debian/rules index 7ec3419..b0e0250 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) CFLAGS += -g -Wall -LD_FLAGS += -shared -Wl,--as-needed +LDFLAGS += -Wl,--as-needed DESTDIR=$(CURDIR)/debian/tmp export PYTHON=$(shell which `pyversions -d`) |