svn commit: r325504 - head/lib/libclang_rt
Ngie Cooper
ngie at FreeBSD.org
Tue Nov 7 06:28:04 UTC 2017
Author: ngie
Date: Tue Nov 7 06:26:48 2017
New Revision: 325504
URL: https://svnweb.freebsd.org/changeset/base/325504
Log:
Redo r325502
:U:Mfoo expands to :Mfoo, apparently. Explicit check for CPUTYPE being
defined, and test for it's value not containing *soft* before calling CRTARCH
armhf.
Tested, somewhat. Unfortunately recent changes appear to have affected
cross-builds where it no longer works, per my tests after universe12a being
upgraded from 07/2017 to 11/2017 sources (DESTDIR isn't being used in WORLDTMP;
MK_SYSTEM_COMPILER might be causing issues right now).
MFC after: 1 week
MFC with: r325502
Reported by: imp
Modified:
head/lib/libclang_rt/Makefile.inc
Modified: head/lib/libclang_rt/Makefile.inc
==============================================================================
--- head/lib/libclang_rt/Makefile.inc Tue Nov 7 05:07:09 2017 (r325503)
+++ head/lib/libclang_rt/Makefile.inc Tue Nov 7 06:26:48 2017 (r325504)
@@ -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
More information about the svn-src-all
mailing list