aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2008-03-02 11:10:46 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2008-03-02 11:10:46 +0000
commitb18c84b4db9989ae54a95109273e699cae8d54b9 (patch)
treeb131fc368eff8f257672b76c058bf72455ff9de1 /Makefile.inc1
parentc3b02504bcdafb0e7fa8b9331e2894b86baa55c5 (diff)
downloadsrc-b18c84b4db9989ae54a95109273e699cae8d54b9.tar.gz
src-b18c84b4db9989ae54a95109273e699cae8d54b9.zip
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
Notes
Notes: svn path=/head/; revision=176737
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 eebd76ef9c68..86fe56d860a7 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 \