Debian Codegraph @

debian/patches/hardening

raw symbols SCIP
1 From: Michael R. Crusoe <[email protected]>
2 Subject: Enable user-supplied LDFLAGS and CPPFLAGS
3 --- porechop.orig/Makefile
4 +++ porechop/Makefile
5 @@ -15,7 +15,7 @@
6
7 # These flags are required for the build to work.
8 FLAGS = -std=c++17 -Iporechop/include -fPIC
9 -LDFLAGS = -shared
10 +LDFLAGS += -shared
11
12 # Different debug/optimisation levels for debug/release builds.
13 DEBUGFLAGS = -DSEQAN_ENABLE_DEBUG=1 -g
14 @@ -44,7 +44,7 @@
15 debug: $(TARGET)
16
17 $(TARGET): $(OBJECTS)
18 - $(CXX) $(FLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
19 + $(CXX) $(FLAGS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJECTS)
20
21 clean:
22 $(RM) $(OBJECTS)
23 @@ -53,4 +53,4 @@
24 $(RM) $(TARGET)
25
26 %.o: %.cpp $(HEADERS)
27 - $(CXX) $(FLAGS) $(CXXFLAGS) -c -o $@ $<
28 + $(CXX) $(FLAGS) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<