aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-03-25 19:23:55 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-03-25 19:23:55 +0100
commit260338460ae1279742b48ad40ecd838d5ae3471a (patch)
tree9b65620ad8c209db64cb0375ae820772d02d7035
parent1761e269047cad6cb5539372497ceda4e2948614 (diff)
downloadlibconfig-260338460ae1279742b48ad40ecd838d5ae3471a.tar.gz
Fix C++ buildflags
-rw-r--r--debian/changelog7
-rwxr-xr-xdebian/rules4
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 4ab29ad..1ae37a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libconfig (1.4.8-4) unstable; urgency=low
+
+ * Add C++ hardened buildflags
+ - Thanks to Simon Ruderich for the patch (closes: #662225)
+
+ -- Jonathan McCrohan <jmccrohan@gmail.com> Sun, 25 Mar 2012 19:23:02 +0100
+
libconfig (1.4.8-3) unstable; urgency=low
* Add Replaces+Breaks: libconfig(++)8-dev to libconfig(++)-dev
diff --git a/debian/rules b/debian/rules
index c0f8375..7a7b9da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,10 +7,12 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
CFLAGS += -Wall -g
+CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS += -Wall -g
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
LDFLAGS += -Wl,-z,defs
CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
-export CFLAGS CPPFLAGS LDFLAGS
+export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
# shared library versions, option 1
version=9