summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-06-27 02:05:39 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-06-27 02:05:39 +0400
commit4c9d1f3292e6a6c1b9178c1ded15d8830fc3c10c (patch)
tree70c39a57ee9a8bee550483daf7023ad093d9f366
parentaa369b5e231cd56708e52deb57bb98b26ea26846 (diff)
downloadopen-axiom-debian-4c9d1f3292e6a6c1b9178c1ded15d8830fc3c10c.tar.gz
Enable hardening
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules6
2 files changed, 6 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 9187042..e6979a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,9 @@ open-axiom (1.5.0~svn3038-1) unstable; urgency=low
* Do not patch configure.ac, but override variables in Makefiles (due to
automake 1.13 too)
* Only support SBCL, all other lisps cause FTBFS.
+ * Enable hardening (include /usr/share/dpkg/buildflags.mk for build flags)
- -- Igor Pashev <pashev.igor@gmail.com> Wed, 26 Jun 2013 23:59:10 +0400
+ -- Igor Pashev <pashev.igor@gmail.com> Thu, 27 Jun 2013 02:05:01 +0400
open-axiom (1.4.1+svn~2626-2) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 5a04b23..d717554 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
#!/usr/bin/make -f
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
include /usr/share/dpkg/architecture.mk
export DH_VERBOSE = 1
@@ -44,8 +47,7 @@ configure-stamp:
dh_auto_configure -B $(BUILD) -- \
--with-lisp=$(LISP) \
--with-x \
- --disable-gcl \
- LDFLAGS="$(LDFLAGS)"
+ --disable-gcl
touch $@
build: build-arch build-indep