[arch-commits] Commit in soundtouch/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Fri Nov 6 23:59:45 UTC 2009
Date: Friday, November 6, 2009 @ 18:59:45
Author: jgc
Revision: 58309
upgpkg: soundtouch 1.4.0-1
Fix PIC issue (FS#16534)
Modified:
soundtouch/trunk/PKGBUILD
----------+
PKGBUILD | 3 +++
1 file changed, 3 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-11-06 23:55:15 UTC (rev 58308)
+++ PKGBUILD 2009-11-06 23:59:45 UTC (rev 58309)
@@ -23,6 +23,9 @@
cd "${srcdir}/${pkgname}"
patch -Np1 -i "${srcdir}/soundtouch-1.4.0-mmx-sse-compile-fix.patch" || return 1
patch -Np1 -i "${srcdir}/soundtouch-1.4.0-x86_64-asm-broken.patch" || return 1
+ if [ "${CARCH}" = "x86_64" ]; then
+ CFLAGS="${CFLAGS} -fPIC"
+ fi
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install || return 1
More information about the arch-commits
mailing list