libllvm: fix compiler-rt build error for 32bit arches

Really not sure if this is safe or has side effects, needs to be
tested.
This commit is contained in:
Henrik Grimler 2020-09-23 21:55:12 +02:00
parent a6b8a957d7
commit 10f4528e37

View File

@ -51,6 +51,12 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DPERL_EXECUTABLE=$(which perl)
-DLLVM_ENABLE_FFI=ON
"
if [ $TERMUX_ARCH_BITS = 32 ]; then
# Do not set _FILE_OFFSET_BITS=64
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DLLVM_FORCE_SMALLFILE_FOR_ANDROID=on"
fi
TERMUX_PKG_FORCE_CMAKE=true
TERMUX_PKG_HAS_DEBUG=false
# Debug build succeeds but make install with: