|
|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://clang.llvm.org/ |
|
|
|
TERMUX_PKG_DESCRIPTION="Modular compiler and toolchain technologies library" |
|
|
|
_PKG_MAJOR_VERSION=6.0 |
|
|
|
TERMUX_PKG_VERSION=${_PKG_MAJOR_VERSION}.0 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_REVISION=2 |
|
|
|
TERMUX_PKG_SHA256=1ff53c915b4e761ef400b803f07261ade637b0c269d99569f18040f3dcee4408 |
|
|
|
TERMUX_PKG_SRCURL=https://releases.llvm.org/${TERMUX_PKG_VERSION}/llvm-${TERMUX_PKG_VERSION}.src.tar.xz |
|
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
@ -92,7 +92,7 @@ termux_step_pre_configure () { |
|
|
|
if [ $TERMUX_ARCH = "arm" ]; then |
|
|
|
LLVM_TARGET_ARCH=ARM |
|
|
|
# See https://github.com/termux/termux-packages/issues/282 |
|
|
|
LLVM_DEFAULT_TARGET_TRIPLE="armv7a-linux-androideabi" |
|
|
|
LLVM_DEFAULT_TARGET_TRIPLE="armv7-linux-androideabi" |
|
|
|
elif [ $TERMUX_ARCH = "aarch64" ]; then |
|
|
|
LLVM_TARGET_ARCH=AArch64 |
|
|
|
elif [ $TERMUX_ARCH = "i686" ]; then |
|
|
|