x264: update for cross arm*-musl.

This commit is contained in:
Juan RP 2015-05-26 12:02:50 +02:00
parent 398c549dc2
commit def05c2207

View File

@ -14,11 +14,10 @@ distfiles="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapsho
checksum=3519e8fa3399845c7d2248d0a7297a923ac6bdc78d0ec15e85026e810670e1be
do_configure() {
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ] || [ "$XBPS_TARGET_MACHINE" = "armv5tel" ]; then
args+=" --disable-asm"
elif [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then
export AS=$CC
fi
case "$XBPS_TARGET_MACHINE" in
armv[56]*) args+=" --disable-asm";;
armv7*) export AS=$CC;;
esac
if [ "$CROSS_BUILD" ]; then
args+=" --host=$XBPS_CROSS_TRIPLET"
fi