diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | debian/rules | 4 |
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 |