diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-05-21 21:45:54 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-05-21 21:45:54 +0100 |
| commit | 426f47ccb62cae1ac159d871fa9bad6b44b912cf (patch) | |
| tree | 186c2f3ce1c1732a8f5ccd25145ba120ff65a976 /debian/patches/makefile | |
| parent | 3ecb593511b18e6bd2eb768160c5a85633ab1da6 (diff) | |
It builds successfully!
Diffstat (limited to 'debian/patches/makefile')
| -rw-r--r-- | debian/patches/makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/debian/patches/makefile b/debian/patches/makefile index 1cd608f..43c25cb 100644 --- a/debian/patches/makefile +++ b/debian/patches/makefile @@ -10,23 +10,24 @@ upnp.o APRSStdPages.o HSMODEM.o WinRPR.o KISSHF.o TNCEmulators.o bpqhdlc.o SerialPort.o\ adif.o WebMail.o utf8Routines.o VARA.o LzFind.o Alloc.o LzmaDec.o LzmaEnc.o LzmaLib.o \ Multicast.o ARDOP.o IPCode.o FLDigi.o linether.o CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o\ -@@ -18,9 +17,12 @@ +@@ -18,9 +17,13 @@ # Configuration: CC = gcc - --all: CFLAGS = -DLINBPQ -MMD -g -rdynamic -fcommon +-all: CFLAGS = -DLINBPQ -MMD -g -rdynamic -fcommon -fasynchronous-unwind-tables -all: LDFLAGS = -l:libpaho-mqtt3a.a -l:libjansson.a ++ +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +CFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS) +LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) + -+all: CFLAGS += -DLINBPQ -MMD -g -fcommon -rdynamic -+all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap -lpng ++all: CFLAGS += -DLINBPQ -MMD -g -rdynamic -fcommon -fasynchronous-unwind-tables ++all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap -lpng all: linbpq -@@ -32,12 +34,15 @@ +@@ -32,12 +35,15 @@ linbpq: $(OBJS) |
