summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2008-02-21 11:21:29 +0000
committerkaiw <kaiw@FreeBSD.org>2008-02-21 11:21:29 +0000
commite949f3109eba639587f7f1e67c0d263489d31639 (patch)
tree8d996a1dde68286e76a4c2b31b05b36c28572fb4 /usr.bin
parentd078b9f274d4a84e9f9b313ffa1e7c2b80833daf (diff)
downloadFreeBSD-src-e949f3109eba639587f7f1e67c0d263489d31639.zip
FreeBSD-src-e949f3109eba639587f7f1e67c0d263489d31639.tar.gz
* Connect ar(1) to the build and make it default ar. Rename GNU
binutils ar and ranlib to gar and granlib, respectively. * Introduce a temporary variable WITH_GNUAR as a safety net. When buildworld with -DWITH_GNUAR, GNU binutils ar and ranlib will install as default ones and 'BSD' ar will be disabled. * Bump __FreeBSD_version to reflect the import of 'BSD' ar(1). Approved by: jkoshy (mentor)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 39ea150..f954a1e 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -232,6 +232,10 @@ SUBDIR= alias \
${_ypmatch} \
${_ypwhich}
+.if !defined(WITH_GNUAR)
+SUBDIR+= ar
+.endif
+
.if ${MACHINE_ARCH} != "arm"
_truss= truss
.endif
OpenPOWER on IntegriCloud