From 1219badc1c507a5cb69aca44a09095ea77a37b21 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sat, 4 Nov 2006 20:20:15 +0000 Subject: [PATCH] remove CFLAGS --- debian/rules | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/debian/rules b/debian/rules index d89592f..71d81b6 100755 --- a/debian/rules +++ b/debian/rules @@ -4,23 +4,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - -CFLAGS = -Wall -g - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - config.status: configure dh_testdir # Add here commands to configure the package. - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + ./configure --prefix=/usr --mandir=\$${prefix}/share/man build: build-stamp build-stamp: config.status