Commit fd14047a authored by Guillaume Lazzara's avatar Guillaume Lazzara Committed by Roland Levillain
Browse files

debian/rules: Add hardening flags according to Debian policy.


Signed-off-by: Roland Levillain's avatarRoland Levillain <roland@lrde.epita.fr>
parent ff4fcfe1
2012-05-29 Guillaume Lazzara <z@lrde.epita.fr>
* debian/rules: Add hardening flags according to Debian policy.
2012-05-29 Guillaume Lazzara <z@lrde.epita.fr> 2012-05-29 Guillaume Lazzara <z@lrde.epita.fr>
* debian/compat: Upgrade to debhelper 9. * debian/compat: Upgrade to debhelper 9.
......
...@@ -22,10 +22,14 @@ endif ...@@ -22,10 +22,14 @@ endif
build: build-stamp build: build-stamp
# Add Hardening flags during configure according to Debian policy.
# See: http://wiki.debian.org/HardeningWalkthrough
# http://wiki.debian.org/Hardening
build-stamp: build-stamp:
dh_testdir dh_testdir
./bootstrap ./bootstrap
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --enable-scribo --prefix=/usr --libexecdir=/usr/lib ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --enable-scribo --prefix=/usr --libexecdir=/usr/lib $(shell dpkg-buildflags --export=configure)
$(MAKE) -j$(CPU_COUNT) $(MAKE) -j$(CPU_COUNT)
touch $@ touch $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment