From b25921cb2c7285ab35787ee2c2e81ffee2127a4f Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Mon, 17 Feb 2020 13:38:30 +0200 Subject: [PATCH] par2: proper fix for i686 --- packages/par2/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/par2/build.sh b/packages/par2/build.sh index dcd1214ab..fc0fb2ba3 100644 --- a/packages/par2/build.sh +++ b/packages/par2/build.sh @@ -11,7 +11,7 @@ TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure() { if [ $TERMUX_ARCH = "i686" ]; then # Avoid undefined reference to __atomic_* functions: - LDFLAGS+=" -latomic" + export LIBS=" -latomic" fi aclocal automake --add-missing