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

This commit is contained in:
Ludovic Rousseau 2008-04-30 18:24:34 +00:00
parent b89a8d56b1
commit ea9c4199fb
2 changed files with 3 additions and 8 deletions

3
debian/changelog vendored
View File

@ -1,8 +1,9 @@
pcsc-lite (1.4.101-1) unstable; urgency=low
* New upstream release
* debian/rules: do not set CFLAGS since dpkg-dev (>= 1.14.17) does it for me
-- Ludovic Rousseau <rousseau@debian.org> Wed, 30 Apr 2008 17:41:56 +0200
-- Ludovic Rousseau <rousseau@debian.org> Wed, 30 Apr 2008 20:24:05 +0200
pcsc-lite (1.4.100-3) unstable; urgency=low

8
debian/rules vendored
View File

@ -16,18 +16,13 @@ else
endif
# see http://www.debian.org/doc/debian-policy/ch-files.html
CFLAGS += -Wall -g -D_REENTRANT
CFLAGS += -Wall -D_REENTRANT
INSTALL = install
INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644
INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755
INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
@ -46,7 +41,6 @@ configure-stamp:
--sysconfdir=/etc \
--prefix=/usr \
--enable-usbdropdir=/usr/lib/pcsc/drivers \
CFLAGS="$(CFLAGS)" \
INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
LDFLAGS="-lpthread"