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)
