[SCM] azr3-jack/master: Pass CFLAGS and LDFLAGS to configure.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Wed Oct 16 16:15:24 UTC 2013
The following commit has been merged in the master branch:
commit d2c69044c56dbc0a9ffb2deb1c2e4248e6b49784
Author: Alessio Treglia <alessio at debian.org>
Date: Wed Oct 16 17:14:04 2013 +0100
Pass CFLAGS and LDFLAGS to configure.
diff --git a/debian/rules b/debian/rules
index 849538e..23fcb4c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,19 @@
#!/usr/bin/make -f
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+export CXXFLAGS+=$(CPPFLAGS)
+export LDFLAGS+=-Wl,--as-needed
+
%:
dh $@ --parallel
override_dh_auto_configure:
./configure --prefix=/usr \
- --LDFLAGS=-Wl,--as-needed
+ --CFLAGS="$(CXXFLAGS)" \
+ --LDFLAGS="$(LDFLAGS)"
override_dh_auto_clean:
$(MAKE) clean
--
azr3-jack packaging
More information about the pkg-multimedia-commits
mailing list