diff --git a/srcpkgs/x264/template b/srcpkgs/x264/template index 21431904aa6..479a4921508 100644 --- a/srcpkgs/x264/template +++ b/srcpkgs/x264/template @@ -14,8 +14,10 @@ distfiles="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapsho checksum=3519e8fa3399845c7d2248d0a7297a923ac6bdc78d0ec15e85026e810670e1be do_configure() { - if [ "$XBPS_TARGET_MACHINE" = "armv6hf" ]; then + if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then args+=" --disable-asm" + elif [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then + export AS=$CC fi if [ "$CROSS_BUILD" ]; then args+=" --host=$XBPS_CROSS_TRIPLET" @@ -27,7 +29,6 @@ do_configure() { do_build() { make ${makejobs} } - do_install() { make DESTDIR=${DESTDIR} \ bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install