summaryrefslogtreecommitdiff
path: root/debian/patches/makefile
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-02-03 22:31:56 +0000
committerDave Hibberd <hibby@debian.org>2025-02-03 22:35:11 +0000
commitbfcf049c56bcbc4bcace3c74388675558b19ed40 (patch)
treeadb59935583c14e91716f128529aa17d4140d47f /debian/patches/makefile
parent488e218d34eaea6d5930cb14fcb77187450fb9df (diff)
New packaging tweaks
Diffstat (limited to 'debian/patches/makefile')
-rw-r--r--debian/patches/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/makefile b/debian/patches/makefile
index 19cd7e7..1cd608f 100644
--- a/debian/patches/makefile
+++ b/debian/patches/makefile
@@ -15,13 +15,13 @@
CC = gcc
-
--all: CFLAGS = -DLINBPQ -MMD -g -fcommon
+-all: CFLAGS = -DLINBPQ -MMD -g -rdynamic -fcommon
-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
++all: CFLAGS += -DLINBPQ -MMD -g -fcommon -rdynamic
+all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap -lpng
all: linbpq