summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2008-03-02 11:10:46 +0000
committerru <ru@FreeBSD.org>2008-03-02 11:10:46 +0000
commitd9f8b4ad275db6dce833d018c5d4561f9dbf5a53 (patch)
treeb131fc368eff8f257672b76c058bf72455ff9de1 /Makefile.inc1
parentdaec28c548d6859f11798cb56bc67d05c42165fb (diff)
downloadFreeBSD-src-d9f8b4ad275db6dce833d018c5d4561f9dbf5a53.zip
FreeBSD-src-d9f8b4ad275db6dce833d018c5d4561f9dbf5a53.tar.gz
Set AR=gnu-ar and RANLIB=gnu-ranlib on systems where we are forced
to use GNU tools. Remove the _WITH_GNUAR knob. Prodded by: obrien
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