picolisp: 32-bit C code cannot be built by clang

This commit is contained in:
Fredrik Fornwall 2017-01-19 06:11:00 +01:00
parent cb958a2e23
commit 060354412f

View 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: