aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/clang
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2014-05-16 15:02:12 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2014-05-16 15:02:12 +0000
commit9ac5c14c93472b55f1a6e39814b12b4b2312a4b8 (patch)
treee954284a92417908f6c9df6cbd2d96acd5adb831 /usr.bin/clang
parentf44c3559243a04947308a7c1d923fa4ffa085369 (diff)
downloadsrc-9ac5c14c93472b55f1a6e39814b12b4b2312a4b8.tar.gz
src-9ac5c14c93472b55f1a6e39814b12b4b2312a4b8.zip
Pay attention to MK_SHARED_TOOLCHAIN
Notes
Notes: svn path=/projects/bmake/; revision=266237
Diffstat (limited to 'usr.bin/clang')
-rw-r--r--usr.bin/clang/clang.prog.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/clang/clang.prog.mk b/usr.bin/clang/clang.prog.mk
index 4cd1052d7de3..8d3f5362f39a 100644
--- a/usr.bin/clang/clang.prog.mk
+++ b/usr.bin/clang/clang.prog.mk
@@ -14,4 +14,9 @@ LDADD+= -lncurses
BINDIR?= /usr/bin
+
+.if ${MK_SHARED_TOOLCHAIN} == "no"
+NO_SHARED= yes
+.endif
+
.include <bsd.prog.mk>