diff options
author | kaiw <kaiw@FreeBSD.org> | 2008-02-21 11:21:29 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2008-02-21 11:21:29 +0000 |
commit | e949f3109eba639587f7f1e67c0d263489d31639 (patch) | |
tree | 8d996a1dde68286e76a4c2b31b05b36c28572fb4 /usr.bin/Makefile | |
parent | d078b9f274d4a84e9f9b313ffa1e7c2b80833daf (diff) | |
download | FreeBSD-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/Makefile')
-rw-r--r-- | usr.bin/Makefile | 4 |
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 |