From a1a09bacff30e8388186314baf82a2640aae45ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= <zmoelnig@umlautQ.umlaeute.mur.at> Date: Sun, 24 Jan 2016 22:09:24 +0100 Subject: [PATCH] Updated build-flags to new upstream build-system --- debian/rules | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/debian/rules b/debian/rules index b884344..db20440 100755 --- a/debian/rules +++ b/debian/rules @@ -21,15 +21,7 @@ include /usr/share/cdbs/1/class/makefile.mk include /usr/share/cdbs/1/class/pd.mk include /usr/share/cdbs/1/rules/utils.mk -DEB_SRCDIR=src -CFLAGS+=$(CPPFLAGS) \ - $(shell pkg-config --cflags lua5.2 pd) \ - -fPIC \ - -Wno-error=format-security -LIBS+=$(shell pkg-config --libs lua5.2) \ - $(LDFLAGS) -DEB_MAKE_EXTRA_ARGS = CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" $(DEB_MAKE_PARALLEL) - -test: - make -C src showsetup CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" $(DEB_MAKE_PARALLEL) +CFLAGS+=$(shell pkg-config --cflags lua5.2 pd) +LIBS+=$(shell pkg-config --libs lua5.2 pd) +DEB_MAKE_EXTRA_ARGS = CPPFLAGS="$(CPPFLAGS)" LUA_CFLAGS="$(CFLAGS)" LUA_LIBS="$(LIBS)" LDFLAGS="$(LDFLAGS)" $(DEB_MAKE_PARALLEL) -- GitLab