The following commit has been merged in the master branch:
commit d63133b4c283155a60a7ddc55438bd84ad33e11e
Author: Jérémy Lal <kapo...@melix.org>
Date:   Sat Aug 24 23:53:34 2013 +0200

    Hardening with mapnik Sconstruct

diff --git a/debian/rules b/debian/rules
index d960165..556f132 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,10 @@ SCONS_FLAGS += XMLPARSER=libxml2
 SCONS_FLAGS += DEMO=False
 SCONS_FLAGS += CPP_TESTS=False
 SCONS_FLAGS += PREFIX=/usr LIB_DIR_NAME=/mapnik/2.2 MAPNIK_LIB_NAME=libmapnik2-
+SCONS_FLAGS += CUSTOM_CXXFLAGS="$(shell dpkg-buildflags --get CXXFLAGS)"
+SCONS_FLAGS += CUSTOM_CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"
+SCONS_FLAGS += CUSTOM_LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)"
+SCONS_FLAGS += CUSTOM_DEFINES="$(shell dpkg-buildflags --get CPPFLAGS)"
 
 override_dh_auto_configure:
        scons $(SCONS_FLAGS) \

-- 
C++/Python toolkit for developing GIS applications

_______________________________________________
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