[med-svn] [tantan] 11/14: add buildflags

Sascha Steinbiss sascha at steinbiss.name
Mon Feb 15 22:25:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository tantan.

commit 21e72a7415d2227d65c81b2ad9b2b4aff43a89d6
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Thu Feb 11 09:58:54 2016 +0000

    add buildflags
---
 debian/patches/buildflags.patch | 16 ++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/buildflags.patch b/debian/patches/buildflags.patch
new file mode 100644
index 0000000..b26628f
--- /dev/null
+++ b/debian/patches/buildflags.patch
@@ -0,0 +1,16 @@
+Description: add buildflags 
+ This patch adjusts CXXFLAGS and CFLAGS to add hardening options etc.
+Author: Sascha Steinbiss <sascha at steinbiss.name> 
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -1,8 +1,8 @@
+-CXXFLAGS = -O3 -Wall -W -Wcast-qual -Wswitch-enum -Wundef	\
++CXXFLAGS += -O3 -g -Wall -W -Wcast-qual -Wswitch-enum -Wundef	\
+ -Wcast-align -Wold-style-cast
+ # -Wconversion
+ 
+-CFLAGS = -Wall
++CFLAGS += -Wall
+ 
+ COBJ = CA_code/lambda_calculator.o
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..896fdf1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+buildflags.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/tantan.git



More information about the debian-med-commit mailing list