From 4c9d1f3292e6a6c1b9178c1ded15d8830fc3c10c Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 27 Jun 2013 02:05:39 +0400 Subject: Enable hardening --- debian/changelog | 3 ++- debian/rules | 6 ++++-- 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 Wed, 26 Jun 2013 23:59:10 +0400 + -- Igor Pashev 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 -- cgit v1.2.3