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:
parent
a6b8a957d7
commit
10f4528e37
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user