diff options
Diffstat (limited to 'extra/libffado/PKGBUILD')
-rw-r--r-- | extra/libffado/PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/libffado/PKGBUILD b/extra/libffado/PKGBUILD index d0fbd0b4f..e9f9b4d35 100644 --- a/extra/libffado/PKGBUILD +++ b/extra/libffado/PKGBUILD @@ -7,7 +7,7 @@ pkgname=libffado pkgver=2.1.0 pkgrel=2 pkgdesc="Driver for FireWire audio devices" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.ffado.org/" license=('GPL') depends=('libiec61883' 'libavc1394' 'dbus-c++' @@ -36,8 +36,10 @@ build() { # python2 fix patch -Np1 -i "$srcdir/python2-qt.patch" - # build! - if [ "$CARCH" = 'x86_64' ]; then + if [ "$CARCH" = "x86_64" ]; then + _scons-conf ENABLE_OPTIMIZATIONS=True + elif [ "$CARCH" = "mips64el" ]; then + sed -i "s/-mn32/-mn32 $CFLAGS/g" SConstruct _scons-conf ENABLE_OPTIMIZATIONS=True else _scons-conf |