svn commit: r356269 - head
Andrew Turner
andrew at FreeBSD.org
Thu Jan 2 11:02:10 UTC 2020
Author: andrew
Date: Thu Jan 2 11:02:09 2020
New Revision: 356269
URL: https://svnweb.freebsd.org/changeset/base/356269
Log:
Add the missing trailing '/' when setting TARGET_ARCH from TARGET
This should fix the build when setting TARGET but not TARGET_ARCH.
Sponsored by: DARPA, AFRL
Modified:
head/Makefile
Modified: head/Makefile
==============================================================================
--- head/Makefile Thu Jan 2 09:08:45 2020 (r356268)
+++ head/Makefile Thu Jan 2 11:02:09 2020 (r356269)
@@ -276,7 +276,7 @@ MK_META_MODE= no
# exceptions.
.if !defined(TARGET_ARCH) && defined(TARGET)
# T->TA mapping is usually TARGET with arm64 the odd man out
-_TARGET_ARCH= ${TARGET:S/arm64/aarch64/:S/riscv/riscv64/:S/arm/armv7}
+_TARGET_ARCH= ${TARGET:S/arm64/aarch64/:S/riscv/riscv64/:S/arm/armv7/}
.elif !defined(TARGET) && defined(TARGET_ARCH) && \
${TARGET_ARCH} != ${MACHINE_ARCH}
# TA->T mapping is accidentally CPUARCH with aarch64 the odd man out
More information about the svn-src-all
mailing list