From de94c4fdf8a88d8e3e4dfd1218270e3c50546acb Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 18 Nov 2017 22:22:50 +0100 Subject: [PATCH] pforth: Do not cache host build --- packages/pforth/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/pforth/build.sh b/packages/pforth/build.sh index f9d2d29fb..836c27f94 100644 --- a/packages/pforth/build.sh +++ b/packages/pforth/build.sh @@ -7,6 +7,12 @@ 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 () { local M32="" if [ $TERMUX_ARCH_BITS = "32" ]; then