summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc17
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index eebd76e..86fe56d 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -203,6 +203,9 @@ CROSSENV= MAKEOBJDIRPREFIX=${OBJTREE} \
GROFF_BIN_PATH=${WORLDTMP}/legacy/usr/bin \
GROFF_FONT_PATH=${WORLDTMP}/legacy/usr/share/groff_font \
GROFF_TMAC_PATH=${WORLDTMP}/legacy/usr/share/tmac
+.if ${OSRELDATE} < 700044
+CROSSENV+= AR=gnu-ar RANLIB=gnu-ranlib
+.endif
# bootstrap-tools stage
BMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \
@@ -972,10 +975,6 @@ _kgzip= usr.sbin/kgzip
.endif
.endif
-.if make(cross-tools) && ${BOOTSTRAPPING} < 700044
-.MAKEFLAGS+= -D_WITH_GNUAR
-.endif
-
cross-tools:
.for _tool in \
gnu/usr.bin/binutils \
OpenPOWER on IntegriCloud