summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-02-22 06:51:26 +0000
committerobrien <obrien@FreeBSD.org>2008-02-22 06:51:26 +0000
commite14d35496cd74c741497c9df33d5371cec918e54 (patch)
tree6280270b487e83b3e8a2c0a93bc85a9b3e884519 /usr.bin
parent5ac6dbd01a14db706efde547e2347ea5746af7e8 (diff)
downloadFreeBSD-src-e14d35496cd74c741497c9df33d5371cec918e54.zip
FreeBSD-src-e14d35496cd74c741497c9df33d5371cec918e54.tar.gz
We build important toolchain statically. So build BSD 'ar' statically
when its replacing GNU 'ar'.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ar/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ar/Makefile b/usr.bin/ar/Makefile
index 4ecfe36..31ad25f 100644
--- a/usr.bin/ar/Makefile
+++ b/usr.bin/ar/Makefile
@@ -13,6 +13,7 @@ DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBELF}
LDADD= -larchive -lbz2 -lz -lelf
.if defined(WITH_BSDAR)
+NO_SHARED?= yes
LINKS= ${BINDIR}/ar ${BINDIR}/ranlib
MLINKS= ar ranlib
.else
OpenPOWER on IntegriCloud