Debian Codegraph @

debian/patches/buildflags.patch

raw symbols SCIP
1 Descriptionscip-debian debian gatk-fermilite 1.2.1+dfsg-3 gatk-fermilite/patches/`buildflags.patch`#Description.: propagate Debian build flags.
2 Authorscip-debian debian gatk-fermilite 1.2.1+dfsg-3 gatk-fermilite/patches/`buildflags.patch`#Author.: Étienne Mollier <[email protected]scip-debian . . . identity/`[email protected]`.>
3 Bug-Debianscip-debian debian gatk-fermilite 1.2.1+dfsg-3 gatk-fermilite/patches/`buildflags.patch`#Bug-Debian.: https://bugs.debian.org/1124857scip-debian-bts debian-bts . . 1124857:
4 Forwardedscip-debian debian gatk-fermilite 1.2.1+dfsg-3 gatk-fermilite/patches/`buildflags.patch`#Forwarded.: not-needed
5 Last-Updatescip-debian debian gatk-fermilite 1.2.1+dfsg-3 gatk-fermilite/patches/`buildflags.patch`#Last-Update.: 2026-01-07
6 ---
7 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
8 --- gatk-fermilite.orig/src/main/c/Makefilescip-debian debian gatk-fermilite 1.2.1+dfsg-3 gatk-fermilite/upstream/`gatk-fermilite.orig/src/main/c/Makefile`:
9 +++ gatk-fermilite/src/main/c/Makefilescip-debian debian gatk-fermilite 1.2.1+dfsg-3 gatk-fermilite/upstream/`gatk-fermilite/src/main/c/Makefile`:
10 @@ -3,8 +3,8 @@
11 endif
12
13 JNI_INCLUDE_DIRS=$(addprefix -I,$(shell find $(JAVA_HOME)/include -type d))
14 -CFLAGS=-g -O2 -Wall -fPIC $(JNI_INCLUDE_DIRS)
15 -CC=gcc
16 +CFLAGS += -g -O2 -Wall -fPIC $(JNI_INCLUDE_DIRS)
17 +CC ?= gcc
18
19 LIB_EXT=so
20
21 @@ -13,12 +13,12 @@
22 all: libfml.$(LIB_EXT)
23
24 libfml.$(LIB_EXT): $(JNI_BASE_NAME).o /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/libfml.so
25 - $(CC) -dynamiclib -shared -o $@ $^ -lm -lz -lpthread
26 + $(CC) $(CPPFLAGS) $(CFLAGS) -dynamiclib -shared -o $@ $^ -lm -lz -lpthread $(LDFLAGS)
27
28 $(JNI_BASE_NAME).o: $(JNI_BASE_NAME).c /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/libfml.so
29
30 test: test.o /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/libfml.so
31 - $(CC) -o $@ $^ -lm -lz -lpthread
32 + $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ -lm -lz -lpthread $(LDFLAGS)
33
34 clean:
35 rm -rf fermi-lite *.o *.$(LIB_EXT)