From aab19a2ef74754fb0f24bb785f08c03eecde8e49 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 20 Mar 2022 17:50:21 +0100 Subject: [PATCH 300/310] tools/build/mk/Makefile.boot: Add ElectroBSD support Obtained from: ElectroBSD --- tools/build/mk/Makefile.boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/mk/Makefile.boot b/tools/build/mk/Makefile.boot index 4e6f3508b30d..d4d764b04136 100644 --- a/tools/build/mk/Makefile.boot +++ b/tools/build/mk/Makefile.boot @@ -5,7 +5,7 @@ DPADD+= ${WORLDTMP}/legacy/usr/lib/libegacy.a LDADD+= -legacy LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib -.if ${.MAKE.OS} != "FreeBSD" +.if ${.MAKE.OS} != "FreeBSD" && ${.MAKE.OS} != "ElectroBSD" # On MacOS using a non-mac ar will fail the build, similarly on Linux using # nm may not work as expected if the nm for the target architecture comes in # $PATH before a nm that supports the host architecture. -- 2.37.1