From eca5d548869181a2313521d24f6b391cebd2b651 Mon Sep 17 00:00:00 2001 From: petere Date: Sun, 27 Nov 2011 19:10:20 +0000 Subject: 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 --- debian/changelog | 4 +++- debian/rules | 2 +- 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 Sun, 27 Nov 2011 01:17:14 +0200 + -- Peter Eisentraut 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 -- cgit v1.2.3