aboutsummaryrefslogtreecommitdiff
path: root/lib/libclang_rt/compiler-rt-vars.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libclang_rt/compiler-rt-vars.mk')
-rw-r--r--lib/libclang_rt/compiler-rt-vars.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libclang_rt/compiler-rt-vars.mk b/lib/libclang_rt/compiler-rt-vars.mk
index eeef2752d326..bfe11196b23b 100644
--- a/lib/libclang_rt/compiler-rt-vars.mk
+++ b/lib/libclang_rt/compiler-rt-vars.mk
@@ -1,11 +1,11 @@
-CLANG_SUBDIR=clang/16
+CLANG_SUBDIR=clang/19
CLANGDIR= /usr/lib/${CLANG_SUBDIR}
SANITIZER_LIBDIR= ${CLANGDIR}/lib/freebsd
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