devel/llvm15: enable ARM backend on aarch64

When BE_NATIVE is specified on aarch64, include the ARM (32-bit)
backend.

Sponsored by:	DARPA
This commit is contained in:
Brooks Davis 2023-04-02 03:17:47 +01:00
parent 003b969fee
commit 2aa44a2286

View file

@ -1,6 +1,6 @@
PORTNAME= llvm
DISTVERSION= 15.0.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel lang
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \
https://${PRE_}releases.llvm.org/${LLVM_RELEASE}${RCDIR}/
@ -327,7 +327,7 @@ FREEBSD_BACKENDS= ${_FREEBSD_BACKENDS}
.if ${ARCH} == amd64
_NATIVE_BACKENDS= X86
.elif ${ARCH} == aarch64
_NATIVE_BACKENDS= AArch64
_NATIVE_BACKENDS= AArch64 ARM
.elif ${ARCH:Marmv*}
_NATIVE_BACKENDS= ARM
.elif ${ARCH} == i386