commit 7ced0c5eaa53d5378f149e8590e69d38e53bb33d
parent 29e3a54e62f1194b7a877161a4f930857262a622
Author: sin <sin@2f30.org>
Date: Mon, 3 Mar 2014 16:35:15 +0000
Fix mpg123 to compile with our i486 toolchain
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/pkgs/mpg123 b/pkgs/mpg123
@@ -3,7 +3,12 @@ url="$mirror/mpg123-$v.tar.bz2"
build: tinyalsa
cd src/mpg123-$v
+ if test "$arch" = "x86_64"; then
+ A=x86-64
+ else
+ A=x86
+ fi
CC=$CC ./configure --prefix="$root" --with-default-audio=tinyalsa \
- --enable-static=yes --enable-shared=no
+ --enable-static=yes --enable-shared=no --with-cpu="$A"
make -j$nprocs
make install