X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/cd9a3a9c05675179b3e0c3de916ec0e819e2ccd1..475126a87ff8b55c0074c0777e7b4ef15035f56b:/packages/pforth/build.sh diff --git a/packages/pforth/build.sh b/packages/pforth/build.sh index d139a7cc..836c27f9 100644 --- a/packages/pforth/build.sh +++ b/packages/pforth/build.sh @@ -7,10 +7,16 @@ TERMUX_PKG_SHA256=fffd7aec1f6601c48a9e2baa284c82d4b22a77f5860a49d83bd811ca4ea18a TERMUX_PKG_HOSTBUILD=yes TERMUX_PKG_REVISION=1 +termux_step_post_configure () { + # Avoid caching the host build as it differs between arches + # and is quite fast here anyway: + rm -Rf $TERMUX_PKG_HOSTBUILD_DIR +} + termux_step_host_build () { - M32="" + local M32="" if [ $TERMUX_ARCH_BITS = "32" ]; then - export M32="-m32" + M32="-m32" fi cp -Rf $TERMUX_PKG_SRCDIR/* . cd build/unix