Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Aug 2012 06:47:22 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r239766 - stable/9/usr.bin/clang/clang
Message-ID:  <201208280647.q7S6lMoK025457@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Tue Aug 28 06:47:21 2012
New Revision: 239766
URL: http://svn.freebsd.org/changeset/base/239766

Log:
  MFC r239509:
  
  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.

Modified:
  stable/9/usr.bin/clang/clang/Makefile
Directory Properties:
  stable/9/usr.bin/clang/   (props changed)

Modified: stable/9/usr.bin/clang/clang/Makefile
==============================================================================
--- stable/9/usr.bin/clang/clang/Makefile	Tue Aug 28 06:17:44 2012	(r239765)
+++ stable/9/usr.bin/clang/clang/Makefile	Tue Aug 28 06:47:21 2012	(r239766)
@@ -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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208280647.q7S6lMoK025457>