svn commit: r239509 - head/usr.bin/clang/clang
Dimitry Andric
dim at FreeBSD.org
Tue Aug 21 17:58:31 UTC 2012
Author: dim
Date: Tue Aug 21 17:58:30 2012
New Revision: 239509
URL: http://svn.freebsd.org/changeset/base/239509
Log:
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
Modified:
head/usr.bin/clang/clang/Makefile
Modified: head/usr.bin/clang/clang/Makefile
==============================================================================
--- head/usr.bin/clang/clang/Makefile Tue Aug 21 17:49:20 2012 (r239508)
+++ head/usr.bin/clang/clang/Makefile Tue Aug 21 17:58:30 2012 (r239509)
@@ -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 \
More information about the svn-src-head
mailing list