svn commit: r326475 - head/lib/libclang_rt

Dimitry Andric dim at FreeBSD.org
Sat Dec 2 17:39:05 UTC 2017


Author: dim
Date: Sat Dec  2 17:39:04 2017
New Revision: 326475
URL: https://svnweb.freebsd.org/changeset/base/326475

Log:
  Make the assignment of CRTARCH conditional, even in the armhf case, and
  slightly rework the .if statement.  While here, fix a minor typo.

Modified:
  head/lib/libclang_rt/Makefile.inc

Modified: head/lib/libclang_rt/Makefile.inc
==============================================================================
--- head/lib/libclang_rt/Makefile.inc	Sat Dec  2 17:22:55 2017	(r326474)
+++ head/lib/libclang_rt/Makefile.inc	Sat Dec  2 17:39:04 2017	(r326475)
@@ -3,12 +3,13 @@
 .include <bsd.compiler.mk>
 
 # armv[67] is a bit special since we allow a soft-floating version via
-# CPUTYPE matching *soft*. This variant is may not actually work though.
+# CPUTYPE matching *soft*. This variant may not actually work though.
 .if ${MACHINE_ARCH:Marmv[67]*} != "" && \
     (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "")
-CRTARCH=	armhf
-.endif
+CRTARCH?=	armhf
+.else
 CRTARCH?=	${MACHINE_CPUARCH:C/amd64/x86_64/}
+.endif
 CRTSRC=		${SRCTOP}/contrib/compiler-rt
 
 .PATH:		${CRTSRC}/lib


More information about the svn-src-all mailing list