From 3aaf91781f8d184b7b7f75e592257a2535ef2485 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 6 Jun 2009 20:18:19 +0200 Subject: [PATCH] rules: Pass CFLAGS as arguments to configure. ... instead of setting them in the environment - this is the recommended way. --- debian/changelog | 4 +++- debian/rules | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index f28c665..965da46 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,8 @@ liboping (1.1.2-1) unstable; urgency=low avr32, thanks to Bradley Smith for reporting this (Closes: #529460). - Use dpatch. - Use dh_install's --fail-missing instead of --list-missing. + - Pass CFLAGS as arguments to configure instead of setting them in the + environment - this is the recommended way. * debian/control: - Use ${binary:Version} instead of ${Source-Version}. - Updated Standards-Version to 3.8.1. @@ -30,7 +32,7 @@ liboping (1.1.2-1) unstable; urgency=low * debian/liboping0.shlibs: - Updated version to >= 1.1.2. - -- Sebastian Harl Sat, 06 Jun 2009 20:14:02 +0200 + -- Sebastian Harl Sat, 06 Jun 2009 20:17:35 +0200 liboping (0.3.5-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index e1e3045..eec0a6d 100755 --- a/debian/rules +++ b/debian/rules @@ -35,12 +35,13 @@ config.status: configure $(DPATCH_STAMPFN) ln -s /usr/share/misc/$$file .; \ done - CFLAGS="$(CFLAGS)" ./configure \ + ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ - --with-perl-bindings="INSTALLDIRS=vendor" + --with-perl-bindings="INSTALLDIRS=vendor" \ + CFLAGS="$(CFLAGS)" build: build-stamp -- 2.30.2