do not set CFLAGS since dpkg-dev (>= 1.14.17) does it for me

This commit is contained in:
Ludovic Rousseau 2008-04-30 13:04:45 +00:00
parent 2fab40cd5c
commit ca5bfa4f4e
2 changed files with 3 additions and 9 deletions

3
debian/changelog vendored
View File

@ -3,8 +3,9 @@ ccid (1.3.6-1) unstable; urgency=low
* New upstream release
* debian/control: add Vcs-Svn: and Vcs-Browser: now the packaging is hosted
on alioth/collab-maint
* debian/rules: do not set CFLAGS since dpkg-dev (>= 1.14.17) does it for me
-- Ludovic Rousseau <rousseau@debian.org> Wed, 05 Mar 2008 13:30:41 +0100
-- Ludovic Rousseau <rousseau@debian.org> Wed, 30 Apr 2008 15:04:03 +0200
ccid (1.3.5-1) unstable; urgency=low

9
debian/rules vendored
View File

@ -9,13 +9,6 @@ version := $(shell dpkg-parsechangelog | \
sed -ne 's/^Version: *\([0-9]\+:\)*//p')
DESTDIR=$(CURDIR)/debian/libccid/
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@ -35,7 +28,7 @@ configure-stamp:
dh_testdir
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure $(confflags) \
./configure $(confflags) \
--prefix=/usr \
--enable-twinserial \
--enable-udev