[med-svn] [Git][med-team/gemma][master] Add hardening flags to testing binary as well to silence salsa CI
Andreas Tille
gitlab at salsa.debian.org
Mon Mar 22 17:26:56 GMT 2021
Andreas Tille pushed to branch master at Debian Med / gemma
Commits:
f7047363 by Andreas Tille at 2021-03-22T18:26:15+01:00
Add hardening flags to testing binary as well to silence salsa CI
- - - - -
1 changed file:
- debian/patches/hardening.patch
Changes:
=====================================
debian/patches/hardening.patch
=====================================
@@ -4,7 +4,7 @@ Last-Update: Mon, 22 Mar 2021 14:38:26 +0100
--- a/Makefile
+++ b/Makefile
-@@ -219,7 +219,7 @@ debug: $(OUTPUT)
+@@ -219,14 +219,14 @@ debug: $(OUTPUT)
$(shell bash $(VGEN) $(GUIX_PROFILE) > src/version.h)
$(OUTPUT): $(OBJS)
@@ -13,3 +13,11 @@ Last-Update: Mon, 22 Mar 2021 14:38:26 +0100
$(OBJS): $(HDR)
+ .SUFFIXES : .cpp .c .o $(SUFFIXES)
+
+ ./bin/unittests-gemma: $(TEST_SRC_DIR)/unittests-main.o $(TEST_SRC_DIR)/unittests-math.o $(OBJS)
+- $(CPP) $(CPPFLAGS) $(TEST_SRC_DIR)/unittests-main.o $(TEST_SRC_DIR)/unittests-math.o $(filter-out src/main.o, $(OBJS)) $(LIBS) -o ./bin/unittests-gemma
++ $(CPP) $(CPPFLAGS) $(TEST_SRC_DIR)/unittests-main.o $(TEST_SRC_DIR)/unittests-math.o $(filter-out src/main.o, $(OBJS)) $(LIBS) -o ./bin/unittests-gemma $(LDFLAGS)
+
+ unittests: all ./bin/unittests-gemma
+ ./bin/unittests-gemma
View it on GitLab: https://salsa.debian.org/med-team/gemma/-/commit/f7047363b8fcaf1eefde9caa80d5ae88076f808a
--
View it on GitLab: https://salsa.debian.org/med-team/gemma/-/commit/f7047363b8fcaf1eefde9caa80d5ae88076f808a
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/20210322/002198cd/attachment-0001.htm>
More information about the debian-med-commit
mailing list