[SCM] composite/master: Use pkg-config for proper compiler-flags

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Jan 12 14:00:05 UTC 2017


The following commit has been merged in the master branch:
commit 85aeb27df6a088415494f0a8d8878b8b3493aa58
Author: IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>
Date:   Thu Jan 12 14:28:25 2017 +0100

    Use pkg-config for proper compiler-flags
    
    Closes: #851028

diff --git a/debian/rules b/debian/rules
index 3e433e3..b25b90b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DWANT_LRDF=ON \
-		-DCMAKE_BUILD_TYPE=RelWithDebInfo
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+		-DCMAKE_CXX_FLAGS="$(shell pkg-config --cflags lrdf) $(CXXFLAGS) $(CPPFLAGS)"
 
 override_dh_auto_install:
 	dh_auto_install

-- 
composite packaging



More information about the pkg-multimedia-commits mailing list