From: Fredrik Fornwall Date: Thu, 1 Sep 2016 11:26:46 +0000 (+0200) Subject: libx264: Minor cosmetic change X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/e67edd5145acd292807aebaa703fd55461f9b796 libx264: Minor cosmetic change --- diff --git a/packages/libx264/build.sh b/packages/libx264/build.sh index 28009bd2..97335ea7 100644 --- a/packages/libx264/build.sh +++ b/packages/libx264/build.sh @@ -2,9 +2,12 @@ TERMUX_PKG_HOMEPAGE=http://www.videolan.org/developers/x264.html TERMUX_PKG_DESCRIPTION="Library for encoding video streams into the H.264/MPEG-4 AVC format" TERMUX_PKG_VERSION="20160503-2245" TERMUX_PKG_SRCURL=ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${TERMUX_PKG_VERSION}.tar.bz2 -if [ $TERMUX_ARCH = "i686" -o $TERMUX_ARCH = "x86_64" ]; then - # Avoid text relocations. Only needed on i686, see: - # https://mailman.videolan.org/pipermail/x264-devel/2016-March/011589.html - # Also disable on x86_64 for now due to build errors. - TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-asm" -fi + +termux_step_pre_configure () { + if [ $TERMUX_ARCH = "i686" -o $TERMUX_ARCH = "x86_64" ]; then + # Avoid text relocations. Only needed on i686, see: + # https://mailman.videolan.org/pipermail/x264-devel/2016-March/011589.html + # Also disable on x86_64 for now due to build errors. + TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-asm" + fi +}