Support the WITH_SHARED_TOOLCHAIN setting that was introduced in r234782

for the clang executable.  Build it statically by default, like the gcc
executables, which should improve performance a little bit.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2012-08-21 17:58:30 +00:00
parent 8bfdf49b97
commit f37c3908ee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239509

View File

@ -9,6 +9,10 @@ SRCS= cc1_main.cpp \
cc1as_main.cpp \
driver.cpp
.if ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?= yes
.endif
LINKS= ${BINDIR}/clang ${BINDIR}/clang++ \
${BINDIR}/clang ${BINDIR}/clang-cpp
MLINKS= clang.1 clang++.1 \