[SCM] liblivemedia/master: Fix FTCBFS

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Fri May 13 22:57:55 UTC 2016


The following commit has been merged in the master branch:
commit 8ddc1e79d1de1b860821304d7ac0a74d7089a738
Author: Helmut Grohne <h.grohne at intenta.de>
Date:   Sat May 14 00:53:18 2016 +0200

    Fix FTCBFS
    
    Export CC and CXX with cross compilers.
    
    Closes: #823593

diff --git a/debian/rules b/debian/rules
index b2cb268..fa9d8d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,15 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+export CC
+ifeq ($(origin CXX),default)
+CXX := $(DEB_HOST_GNU_TYPE)-g++
+endif
+export CXX
+
 %:
 	dh $@ --parallel
 

-- 
liblivemedia packaging



More information about the pkg-multimedia-commits mailing list