aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-11-07 06:26:48 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-11-07 06:26:48 +0000
commitd61b3d7a720f36fdff69749c8096546a3ba8aba4 (patch)
tree7f35eb594efaec5e9868d66f3d5ac56d4bbd8f1f /lib
parentc03bb93303de56c339b6ab6acc220697a1aa5ed6 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libclang_rt/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libclang_rt/Makefile.inc b/lib/libclang_rt/Makefile.inc
index 1723ba5b9964..2db3d6ff03f1 100644
--- a/lib/libclang_rt/Makefile.inc
+++ b/lib/libclang_rt/Makefile.inc
@@ -3,7 +3,8 @@
.include <bsd.compiler.mk>
.if ${MACHINE} == "arm"
-.if ${MACHINE_ARCH:Marmv[67]*} != "" && ${CPUTYPE:U:M*soft*} == ""
+.if ${MACHINE_ARCH:Marmv[67]*} != "" && \
+ (defined(CPUTYPE) && ${CPUTYPE:M*soft*} == "")
CRTARCH= armhf
.endif
.endif