File: hardening.patch

package info (click to toggle)
nxtrim 0.4.3%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 360 kB
  • sloc: cpp: 1,593; python: 142; sh: 97; makefile: 43
file content (18 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix errors while launching Make clean
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-04-05
--- a/Makefile
+++ b/Makefile
@@ -23,10 +23,10 @@
 OBJS=matepair.o fastqlib.o utilityfunc.o
 
 .cpp.o:
-	$(CXX) $(CXXFLAGS) -c -o $@ $<
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
 
 nxtrim: nxtrim.cpp $(OBJS) version.h
-	$(CXX) $(CXXFLAGS) nxtrim.cpp $(OBJS)  $(LFLAGS) -o $@
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) nxtrim.cpp $(OBJS) $(LFLAGS) -o $@ $(LDFLAGS)
 matepair.o: matepair.cpp matepair.h fastqlib.h
 fastqlib.o: fastqlib.cpp fastqlib.h utilityfunc.h
 utilityfunc.o:  utilityfunc.cpp utilityfunc.h