par2: Fix i686 build

This commit is contained in:
Fredrik Fornwall 2017-07-14 23:18:28 +02:00
parent 0cefc9d14e
commit dce1a134da

View File

@ -9,6 +9,9 @@ TERMUX_PKG_FOLDERNAME=par2cmdline-$TERMUX_PKG_VERSION
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() { termux_step_pre_configure() {
if [ $TERMUX_ARCH = "i686" ]; then
sed -i 's/LDADD = -lstdc++/LDADD = -lstdc++ -latomic/' $TERMUX_PKG_SRCDIR/Makefile.am
fi
aclocal aclocal
automake --add-missing automake --add-missing
autoconf autoconf