valgrind: Fix arm build by avoiding -mthumb
[termux-packages] / packages / picolisp / build.sh
index 61d473b..75d8324 100644 (file)
@@ -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: