[med-svn] [Git][med-team/mummer][master] Propagate CPPFLAGS to enable hardening (fixes blhc)
Nilesh Patra
gitlab at salsa.debian.org
Sat Dec 26 16:03:02 GMT 2020
Nilesh Patra pushed to branch master at Debian Med / mummer
Commits:
45dcb876 by Nilesh Patra at 2020-12-26T21:28:01+05:30
Propagate CPPFLAGS to enable hardening (fixes blhc)
- - - - -
1 changed file:
- debian/patches/hardening.patch
Changes:
=====================================
debian/patches/hardening.patch
=====================================
@@ -4,7 +4,7 @@ Description: Propagate hardening options
--- a/Makefile
+++ b/Makefile
-@@ -122,7 +122,7 @@ scripts:
+@@ -122,7 +122,7 @@
tigr:
@@ -15,15 +15,17 @@ Description: Propagate hardening options
uninstall: clean
--- a/src/tigr/Makefile
+++ b/src/tigr/Makefile
-@@ -9,9 +9,9 @@ AUX_BIN_DIR := $(CURDIR)
+@@ -8,10 +8,10 @@
+ AUX_BIN_DIR := $(CURDIR)
endif
- OBJ_RULE = $(CXX) $(CXXFLAGS) $< -c -o $@
+-OBJ_RULE = $(CXX) $(CXXFLAGS) $< -c -o $@
-BIN_RULE = $(CXX) $(CXXFLAGS) $^ -o $(BIN_DIR)/$@; \
-+BIN_RULE = $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $(BIN_DIR)/$@; \
++OBJ_RULE = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $< -c -o $@
++BIN_RULE = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ -o $(BIN_DIR)/$@; \
chmod 755 $(BIN_DIR)/$@
-AUX_BIN_RULE = $(CXX) $(CXXFLAGS) $^ -o $(AUX_BIN_DIR)/$@; \
-+AUX_BIN_RULE = $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $(AUX_BIN_DIR)/$@; \
++AUX_BIN_RULE = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ -o $(AUX_BIN_DIR)/$@; \
chmod 755 $(AUX_BIN_DIR)/$@
VPATH := $(AUX_BIN_DIR):$(BIN_DIR)
View it on GitLab: https://salsa.debian.org/med-team/mummer/-/commit/45dcb87605ba7cc8792735c482bfed176942893e
--
View it on GitLab: https://salsa.debian.org/med-team/mummer/-/commit/45dcb87605ba7cc8792735c482bfed176942893e
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/20201226/e319f751/attachment-0001.html>
More information about the debian-med-commit
mailing list