llvm: Enable building on ppc

This commit is contained in:
Thomas Batten 2019-01-23 10:55:13 +10:30 committed by maxice8
parent 60d13c05d1
commit 14d96e3e9d

View file

@ -128,7 +128,7 @@ pre_configure() {
armv7*) _arch="Armv7";;
aarch64*) _arch="AArch64";;
mips*) _arch="Mips";;
ppc64*) _arch="PowerPC";;
ppc*) _arch="PowerPC";;
esac
configure_args+=" -DLLVM_TARGET_ARCH=${_arch}"
configure_args+=" -DLLVM_DEFAULT_TARGET_TRIPLE=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}"