mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
libclang_rt: Simplify the arm check
We just need to check we are building for arm. Reviewed by: manu, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45644
This commit is contained in:
parent
06999c8a3a
commit
97dbe3e7ac
@ -5,7 +5,7 @@ SANITIZER_SHAREDIR= ${CLANGDIR}/share
|
||||
|
||||
# armv[67] is a bit special since we allow a soft-floating version via
|
||||
# CPUTYPE matching *soft*. This variant may not actually work though.
|
||||
.if ${MACHINE_ARCH:Marmv[67]*} != "" && \
|
||||
.if ${MACHINE_CPUARCH} == "arm" && \
|
||||
(!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "")
|
||||
CRTARCH?= armhf
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user