Date: Thu, 2 Jan 2020 11:02:10 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r356269 - head Message-ID: <202001021102.002B2ANs096507@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001021102.002B2ANs096507>