From 675f40be24d71ac8408f571e46099eafb016f68b Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 11 Mar 2019 00:23:39 +0100 Subject: [PATCH] pforth: Respect LDFLAGS in build Fixes DT_RUNPATH (see #3490). --- packages/pforth/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/pforth/build.sh b/packages/pforth/build.sh index 74a1058a7..3d1179dc8 100644 --- a/packages/pforth/build.sh +++ b/packages/pforth/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Portable Forth in C" TERMUX_PKG_LICENSE="Public Domain" _COMMIT=ee8dc9e9e0f59b8e38dec3732caefe9f3af2b431 TERMUX_PKG_VERSION=20180513 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=3cf472bb944aa53b0eb0b93d021c8c2c0eff18dd2e3e54daddaf4af342e441ea TERMUX_PKG_SRCURL=https://github.com/philburk/pforth/archive/${_COMMIT}.zip TERMUX_PKG_HOSTBUILD=yes @@ -31,7 +32,7 @@ termux_step_pre_configure() { done export TERMUX_PKG_BUILDDIR=$TERMUX_PKG_SRCDIR/build/unix - export CC="$CC $CFLAGS" + export CC="$CC $CFLAGS $LDFLAGS" } termux_step_make_install() { cp $TERMUX_PKG_BUILDDIR/pforth_standalone $TERMUX_PREFIX/bin/pforth