[med-svn] [Git][med-team/genometester][master] Patches for hardening and adding debug symbols

Liubov Chuprikova gitlab at salsa.debian.org
Fri Jun 1 09:51:25 BST 2018


Liubov Chuprikova pushed to branch master at Debian Med / genometester


Commits:
8b1de732 by Liubov Chuprikova at 2018-06-01T10:49:04+02:00
Patches for hardening and adding debug symbols

- - - - -


3 changed files:

- + debian/patches/add_debug_symbols.patch
- + debian/patches/hardening.patch
- + debian/patches/series


Changes:

=====================================
debian/patches/add_debug_symbols.patch
=====================================
--- /dev/null
+++ b/debian/patches/add_debug_symbols.patch
@@ -0,0 +1,15 @@
+Author: Liubov Chuprikova <chuprikovalv at gmail.com>
+Last-Update: Fri, 1 June 2018 01:13:17 +0200
+Description: Add debug symbols
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -109,7 +109,7 @@
+ 	utils.c utils.h \
+ 	aleq.c
+ 
+-RELEASEFLAGS = -O3
++RELEASEFLAGS = -O3 -g
+ DEBUGFLAGS = -O0 -g
+ LIBS = -lm -lpthread -lrt
+ INCS = -I.


=====================================
debian/patches/hardening.patch
=====================================
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,15 @@
+Author: Liubov Chuprikova <chuprikovalv at gmail.com>
+Last-Update: Fri, 1 June 2018 01:33:17 +0200
+Description: Propagate hardening options
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -116,7 +116,7 @@
+ BINS  = glistmaker glistquery glistcompare
+ 
+ #CXXFLAGS = $(INCS) $(DEBUGFLAGS) -Wall 
+-CXXFLAGS = $(INCS) $(RELEASEFLAGS) -Wall 
++CXXFLAGS += $(INCS) $(RELEASEFLAGS) -Wall $(LDFLAGS)
+ 
+ .PHONY: all all-before all-after clean clean-custom
+ 


=====================================
debian/patches/series
=====================================
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+add_debug_symbols.patch
+hardening.patch



View it on GitLab: https://salsa.debian.org/med-team/genometester/commit/8b1de732986320cbd2a6d2080265c6d319dd6c88

-- 
View it on GitLab: https://salsa.debian.org/med-team/genometester/commit/8b1de732986320cbd2a6d2080265c6d319dd6c88
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180601/15fa4c53/attachment-0001.html>


More information about the debian-med-commit mailing list