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.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit