[freeimage] 05/07: Use DEB_BUILD_MAINT_OPTIONS for hardening.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Oct 10 14:18:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository freeimage.
commit 2fc5236d6625ea34cc4a759d014cc0c21597a0e9
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Mon Oct 10 15:08:51 2016 +0100
Use DEB_BUILD_MAINT_OPTIONS for hardening.
---
debian/rules | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index 4b1f438..c02aad6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,11 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Hardening options.
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -fPIC
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic -fPIC
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-# Export build flags.
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
# Environment information.
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/freeimage.git
More information about the debian-science-commits
mailing list