mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
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
This commit is contained in:
parent
5fcb2832e3
commit
d0d8c0977c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356269
2
Makefile
2
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user