File: cppflags.patch

package info (click to toggle)
bbmap 39.20%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,008 kB
  • sloc: java: 312,743; sh: 18,096; python: 5,247; ansic: 2,074; perl: 96; makefile: 39; xml: 38
file content (17 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: add CPPFLAGS build options to support fortify source
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2022-03-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- bbmap.orig/jni/makefile.linux
+++ bbmap/jni/makefile.linux
@@ -5,7 +5,7 @@
 OBJ=BandedAlignerJNI.o MultiStateAligner11tsJNI.o BBMergeOverlapper.o IceCreamAlignerJNI.o
 
 %.o: %.c
-	$(CC) $(CFLAGS) $(INCS) -c -o $@ $<
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -c -o $@ $<
 
 libbbtoolsjni.so: $(OBJ)
 	$(CC) -o $@ $^ $(LDFLAGS)