[SCM] petri-foo/master: Pass LDFLAGS to cmake.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sat Sep 1 18:33:16 UTC 2012


The following commit has been merged in the master branch:
commit 07912497ae61761ca00580abd18ca4cf951a935b
Author: Alessio Treglia <alessio at debian.org>
Date:   Sat Sep 1 20:32:58 2012 +0200

    Pass LDFLAGS to cmake.

diff --git a/debian/rules b/debian/rules
index 2585ab3..dd269b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
-LDFLAGS+=-Wl,--as-needed
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export LDFLAGS+=-Wl,--as-needed
 
 %:
 	dh $@ --parallel

-- 
petri-foo packaging



More information about the pkg-multimedia-commits mailing list