summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpetere <petere@0070b5ef-2f16-0410-befa-9a02bd1d6ddb>2011-11-27 19:10:20 +0000
committerpetere <petere@0070b5ef-2f16-0410-befa-9a02bd1d6ddb>2011-11-27 19:10:20 +0000
commiteca5d548869181a2313521d24f6b391cebd2b651 (patch)
tree23e579ea4c1e633c8072a0c21a27f90ded14fa3e
parentf5c471df7ec583c21d430b5c2e56563be408d0ef (diff)
downloadntp-eca5d548869181a2313521d24f6b391cebd2b651.tar.gz
Add -Wl,--as-needed to LDFLAGS, which drops the dependency of ntpdate
on libcap2 git-svn-id: svn://svn.debian.org/pkg-ntp/ntp/trunk@338 0070b5ef-2f16-0410-befa-9a02bd1d6ddb
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index e85024f..2356245 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,10 @@ ntp (1:4.2.6.p3+dfsg-2) UNRELEASED; urgency=low
* Get build flags from dpkg-buildflags, and fix the resulting
-Wformat-security errors using patch from Colin Watson (closes:
#627403)
+ * Add -Wl,--as-needed to LDFLAGS, which drops the dependency of ntpdate
+ on libcap2
- -- Peter Eisentraut <petere@debian.org> Sun, 27 Nov 2011 01:17:14 +0200
+ -- Peter Eisentraut <petere@debian.org> Sun, 27 Nov 2011 21:08:37 +0200
ntp (1:4.2.6.p3+dfsg-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index a851a95..70e8b44 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) -D_GNU_SOURCE
CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -fno-strict-aliasing
-LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
+LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
config.status:
dh_testdir