[libnet-arp-perl] 07/09: simply rules file

Florian Schlichting fsfs at alioth.debian.org
Fri Aug 16 16:05:31 UTC 2013


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository libnet-arp-perl.

commit 260a335e24ef970b00b5c1e6e4ba5aaf62c18cab
Author: Florian Schlichting <fsfs at debian.org>
Date:   Fri Aug 16 17:59:36 2013 +0200

    simply rules file
    
    dh takes care of DEB_BUILD_OPTIONS, and by not setting CFLAGS
    unconditionally, we also actually pass the hardening flags
---
 debian/rules |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8bfe2b1..67bf131 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,17 +1,7 @@
 #!/usr/bin/make -f
 
-CFLAGS = -Wall -g
-ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-    CFLAGS += -O0
-else
-    CFLAGS += -O2
-endif
-
 %:
 	dh $@
 
-override_dh_auto_build:
-	dh_auto_build -- OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-
 override_dh_auto_test:
 	DEBIAN_BUILD=1 dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-arp-perl.git



More information about the Pkg-perl-cvs-commits mailing list