Source: pdns
Severity: important
Tags: patch

Please enabled hardened build flags through dpkg-buildflags.

Patch attached.

Cheers,
        Moritz
diff -aur pdns-3.0.harden/debian/rules pdns-3.0/debian/rules
--- pdns-3.0.harden/debian/rules	2011-11-06 23:04:05.000000000 +0100
+++ pdns-3.0/debian/rules	2012-01-21 19:08:16.000000000 +0100
@@ -14,7 +14,7 @@
 	./bootstrap
 	
 	# Add here commands to configure the package.
-	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" ./configure \
+	./configure $(shell dpkg-buildflags --export=configure) \
 		--host=$(DEB_HOST_GNU_TYPE) \
 		--build=$(DEB_BUILD_GNU_TYPE) \
 		--prefix=/usr \
Nur in pdns-3.0/debian: rules~.

Reply via email to