Michael R. Crusoe pushed to branch master at Debian Med / bwa-mem2


Commits:
173864ce by Michael R. Crusoe at 2025-02-27T12:35:35+01:00
improve the hardening patch

- - - - -


1 changed file:

- debian/patches/hardening


Changes:

=====================================
debian/patches/hardening
=====================================
@@ -4,15 +4,20 @@ Subject: Enable proper flag appending so that Debian can 
harden the build.
 
 Forwarded: https://github.com/bwa-mem2/bwa-mem2/pull/69
 ---
- Makefile                   | 2 +-
+ Makefile                   | 4 ++--
  ext/safestringlib/makefile | 8 ++++----
- 2 files changed, 5 insertions(+), 5 deletions(-)
+ 2 files changed, 6 insertions(+), 6 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index 359585f..da91f57 100644
+index 359585f..717504d 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -115,7 +115,7 @@ multi:
+@@ -111,11 +111,11 @@ multi:
+       $(MAKE) arch=avx2   EXE=bwa-mem2.avx2     CXX=$(CXX) all
+       rm -f src/*.o $(BWA_LIB); cd ext/safestringlib/ && $(MAKE) clean;
+       $(MAKE) arch=avx512 EXE=bwa-mem2.avx512bw CXX=$(CXX) all
+-      $(CXX) -Wall -O3 src/runsimd.cpp -Iext/safestringlib/include 
-Lext/safestringlib/ -lsafestring $(STATIC_GCC) -o bwa-mem2
++      $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -Wall -O3 src/runsimd.cpp 
-Iext/safestringlib/include -Lext/safestringlib/ -lsafestring $(STATIC_GCC) -o 
bwa-mem2
  
  
  $(EXE):$(BWA_LIB) $(SAFE_STR_LIB) src/main.o



View it on GitLab: 
https://salsa.debian.org/med-team/bwa-mem2/-/commit/173864cead8ce7efeb2ac9220f9f9f1a6e9bab87

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/bwa-mem2/-/commit/173864cead8ce7efeb2ac9220f9f9f1a6e9bab87
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

Reply via email to