[SCM] ffado/master: Correctly pass -fPIC to scons.

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Wed Sep 15 15:57:16 UTC 2010


The following commit has been merged in the master branch:
commit e8a977d2524ada462d19536fb942b115a550bbeb
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Wed Sep 15 17:41:50 2010 +0200

    Correctly pass -fPIC to scons.
    
    Upstream has changed the parameters, so current libffado2 ended up
    with non-PIC code. This patch fixes the issue.

diff --git a/debian/rules b/debian/rules
index 5a04b7e..f81614b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,9 +61,9 @@ DEB_SCONS_INVOKE = $(DEB_SCONS_ENVVARS) scons
 ### Mangle libffado filename ###
 debian/stamp-scons-build:
 	-mkdir -p $(DEB_DESTDIR)
-	$(DEB_SCONS_INVOKE) 'ARCH=$(CFLAGS)' DESTDIR=$(DEB_DESTDIR) \
+	$(DEB_SCONS_INVOKE) 'COMPILE_FLAGS=$(CFLAGS)' DESTDIR=$(DEB_DESTDIR) \
 		$(DEB_SCONS_EXTRA_FLAGS) $(DEB_SCONS_NOOPT_FLAGS) 
-	$(DEB_SCONS_INVOKE) 'ARCH=$(CFLAGS)' DESTDIR=$(DEB_DESTDIR) \
+	$(DEB_SCONS_INVOKE) 'COMPILE_FLAGS=$(CFLAGS)' DESTDIR=$(DEB_DESTDIR) \
 		$(DEB_SCONS_EXTRA_FLAGS) $(DEB_SCONS_NOOPT_FLAGS) \
 		install
 	touch debian/stamp-scons-build

-- 
Free Firewire Audio Drivers (ffado.org) packaging



More information about the pkg-multimedia-commits mailing list