xvidcore: Avoid text relocations on i686

This commit is contained in:
Fredrik Fornwall 2016-03-24 21:38:17 -04:00
parent 9b6678fd01
commit 1b3fe9854c
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.xvid.org/
TERMUX_PKG_DESCRIPTION="High performance and high quality MPEG-4 library"
TERMUX_PKG_VERSION=1.3.4
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=http://downloads.xvid.org/downloads/xvidcore-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_FOLDERNAME=xvidcore
@ -10,5 +11,10 @@ termux_step_pre_configure () {
rm -f $TERMUX_PREFIX/lib/libxvid*
export TERMUX_PKG_BUILDDIR=$TERMUX_PKG_BUILDDIR/build/generic
export TERMUX_PKG_SRCDIR=$TERMUX_PKG_BUILDDIR
if [ $TERMUX_ARCH = i686 ]; then
# Avoid text relocations:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-assembly"
fi
}