File: hardening

package info (click to toggle)
trinityrnaseq 2.11.0%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 417,528 kB
  • sloc: perl: 48,420; cpp: 17,749; java: 12,695; python: 3,124; sh: 1,030; ansic: 983; makefile: 688; xml: 62
file content (28 lines) | stat: -rw-r--r-- 1,157 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: add standard CXXFLAGS CPPFLAGS to Chrysalis & scaffold_iworm_contigs
--- trinityrnaseq.orig/Chrysalis/Makefile
+++ trinityrnaseq/Chrysalis/Makefile
@@ -1,10 +1,10 @@
 all:
 	mkdir -p build
-	cd build && cmake -DCMAKE_INSTALL_PREFIX="" ../ && make DESTDIR=../ install
+	cd build && cmake -DCMAKE_INSTALL_PREFIX="" ../ && ${MAKE} DESTDIR=../ install
 
 debug:
 	mkdir -p build
-	cd build && cmake -DCMAKE_INSTALL_PREFIX="" -DCMAKE_BUILD_TYPE=Debug ../ && make DESTDIR=../ install
+	cd build && cmake -DCMAKE_INSTALL_PREFIX="" -DCMAKE_BUILD_TYPE=Debug ../ && ${MAKE} DESTDIR=../ install
 
 
 clean:
--- trinityrnaseq.orig/trinity-plugins/scaffold_iworm_contigs/Makefile
+++ trinityrnaseq/trinity-plugins/scaffold_iworm_contigs/Makefile
@@ -2,7 +2,7 @@
 prefix = ../htslib
 
 ScaffoldIwormContigs:
-	$(CXX) $(LDFLAGS) -I$(prefix) -L$(prefix) ScaffoldIwormContigs.cpp error_checker.cpp -lhts -o scaffold_iworm_contigs
+	$(CXX) $(LDFLAGS) -I$(prefix) -L$(prefix) $(CPPFLAGS) $(CXXFLAGS) ScaffoldIwormContigs.cpp error_checker.cpp -lhts -o scaffold_iworm_contigs
 
 clean:
 	rm -f scaffold_iworm_contigs