From 060354412fddffcbcf854ff8cd60bb0797fdd862 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 19 Jan 2017 06:11:00 +0100 Subject: [PATCH] picolisp: 32-bit C code cannot be built by clang --- packages/picolisp/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/picolisp/build.sh b/packages/picolisp/build.sh index 61d473b916..75d8324a96 100644 --- a/packages/picolisp/build.sh +++ b/packages/picolisp/build.sh @@ -12,6 +12,10 @@ TERMUX_PKG_FOLDERNAME=picoLisp TERMUX_PKG_BUILD_IN_SRC=true # The assembly is not position-independent (would be a major rewrite): TERMUX_PKG_BLACKLISTED_ARCHES="x86_64" +if [ $TERMUX_ARCH_BITS = 32 ]; then + # "Variable length array in structure won't be supported" + TERMUX_PKG_CLANG=no +fi termux_step_pre_configure() { # Validate that we have the right version: