The following commit has been merged in the master branch:
commit 93420e583fe82c9f095f3b29ff25e85c108e240d
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Sun Jul 21 18:26:12 2013 +0200

    Set all hardening flags in CFLAGS, the only variable used by Makefile.

diff --git a/debian/changelog b/debian/changelog
index 037fa35..e7170f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ tinyows (1.1.0-3) UNRELEASED; urgency=low
   * Drop unused and unneeded build dependencies.
   * Use minimal dh rules with autoreconf.
   * Install NEWS as upstream changelog.
+  * Set all hardening flags in CFLAGS, the only variable used by Makefile.
 
  -- Bas Couwenberg <sebas...@xs4all.nl>  Sun, 21 Jul 2013 15:37:59 +0200
 
diff --git a/debian/rules b/debian/rules
index 04896a2..9845b1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,9 @@ export DH_OPTIONS
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+CFLAGS += $(LDFLAGS)
+CFLAGS += $(CPPFLAGS)
+
 PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
 

-- 
A simple WFS-T server

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to