From 3c921c3a4ec53f4d1c0311f99a0daf7e56f82386 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 20 Apr 2014 08:58:16 +0200 Subject: [PATCH] Abuse OPT to set our CFLAGS --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 7ff39ca..27894d6 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,7 @@ BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), dh $@ override_dh_auto_build: - $(MAKE) CFLAGS="`dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS`" LDFLAGS="-static `dpkg-buildflags --get LDFLAGS`" + $(MAKE) OPT="`dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS`" LDFLAGS="-static `dpkg-buildflags --get LDFLAGS`" override_dh_auto_install: make install BINDIR=$(pkgdir)/bin MANDIR=$(pkgdir)/usr/share/man/man1 -- 2.39.5