summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-02-29 22:58:51 +0000
committerdim <dim@FreeBSD.org>2012-02-29 22:58:51 +0000
commit2a09710001f8d4e44d609b777dbca5f6426072ed (patch)
tree2af64063549570e0a548bdc894aa9b6e2f75ee88 /tools
parent5fb3a72857db9900e8bdadb8f7d81bdc41db250d (diff)
downloadFreeBSD-src-2a09710001f8d4e44d609b777dbca5f6426072ed.zip
FreeBSD-src-2a09710001f8d4e44d609b777dbca5f6426072ed.tar.gz
Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
Diffstat (limited to 'tools')
-rw-r--r--tools/build/options/WITH_CLANG_IS_CC8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/build/options/WITH_CLANG_IS_CC b/tools/build/options/WITH_CLANG_IS_CC
new file mode 100644
index 0000000..a7511dd
--- /dev/null
+++ b/tools/build/options/WITH_CLANG_IS_CC
@@ -0,0 +1,8 @@
+.\" $FreeBSD$
+Set to install the Clang C/C++ compiler as
+.Pa /usr/bin/cc
+,
+.Pa /usr/bin/c++
+and
+.Pa /usr/bin/cpp
+.
OpenPOWER on IntegriCloud