git: b89155be25a7 - main - bsd.endian.mk: Avoid use of M_ListToSkip
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 May 2026 19:40:02 UTC
The branch main has been updated by stevek:
URL: https://cgit.FreeBSD.org/src/commit/?id=b89155be25a7f501980a165e225b28abd886c1e5
commit b89155be25a7f501980a165e225b28abd886c1e5
Author: Stephen J. Kiernan <stevek@FreeBSD.org>
AuthorDate: 2026-05-03 19:35:22 +0000
Commit: Stephen J. Kiernan <stevek@FreeBSD.org>
CommitDate: 2026-05-03 19:39:50 +0000
bsd.endian.mk: Avoid use of M_ListToSkip
While the src build works fine with M_ListToSkip, it can break the
ports build. For now, it is safer just to do the actual variable
modifiers in place.
Reported by: se
Fixes: 01674e15dedb ("bsd.endian.mk: Optimize the handling...")
---
share/mk/bsd.endian.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/mk/bsd.endian.mk b/share/mk/bsd.endian.mk
index 2a617a1d2794..b990172c7792 100644
--- a/share/mk/bsd.endian.mk
+++ b/share/mk/bsd.endian.mk
@@ -12,7 +12,7 @@ MACHINE_ARCH_LIST.big = \
powerpc64
.for e in big little
-N_$e:= ${MACHINE_ARCH_LIST.$e:${M_ListToSkip}}
+N_$e:= ${MACHINE_ARCH_LIST.$e:@m@N$m@:ts:}
.endfor
# For the host, we need to look at the host architecture