[med-svn] [pftools] 01/03: Propagate hardening options
Andreas Tille
tille at debian.org
Wed Mar 22 13:47:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository pftools.
commit 6efdbf7583356306b9f3f7b57789dfda7a8e6bd9
Author: Andreas Tille <tille at debian.org>
Date: Wed Mar 22 14:46:04 2017 +0100
Propagate hardening options
---
debian/patches/hardening.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..9e40b01
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,17 @@
+--- a/Makefile
++++ b/Makefile
+@@ -14,12 +14,13 @@ CC = gcc
+ #FFLAGS= -O2 -finit-local-zero -fno-automatic io.o
+ FFLAGS= -O2 -fno-automatic io.o
+ #PRFLAG= -g -pg
++PRFLAG=$(LDFLAGS)
+
+
+ # For MAC OX X SnowLeopard we need to specify the 32bit architecture for gcc
+ #CFLAGS= -m32
+ # otherwise keep it empty
+-CFLAGS=
++#CFLAGS=
+
+
+ #----------------------------------------------------------------------#
diff --git a/debian/patches/series b/debian/patches/series
index 0e31a45..7bc07ca 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix_clean_target.patch
fix_install.patch
+hardening.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pftools.git
More information about the debian-med-commit
mailing list