diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-13 17:56:30 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-13 17:56:30 -0200 |
commit | 3e0bf52f358eb969d165c4b1e54942ee94cf2c8d (patch) | |
tree | 440bb9907871a5bc578d65b32f0c4aa339096175 /contrib/llvm/patches/patch-r257109-add-CC-aliases.diff | |
parent | 4b4ac714f11471e43f18410bcc86da8f9dc3b88c (diff) | |
parent | e357bdb742b2696dcb81404917b6247f9e840232 (diff) | |
download | FreeBSD-src-3e0bf52f358eb969d165c4b1e54942ee94cf2c8d.zip FreeBSD-src-3e0bf52f358eb969d165c4b1e54942ee94cf2c8d.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'contrib/llvm/patches/patch-r257109-add-CC-aliases.diff')
-rw-r--r-- | contrib/llvm/patches/patch-r257109-add-CC-aliases.diff | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/contrib/llvm/patches/patch-r257109-add-CC-aliases.diff b/contrib/llvm/patches/patch-r257109-add-CC-aliases.diff deleted file mode 100644 index c5bc281..0000000 --- a/contrib/llvm/patches/patch-r257109-add-CC-aliases.diff +++ /dev/null @@ -1,25 +0,0 @@ -This patch adds "CC" and "clang-CC" to the list of program name aliases which -invoke the C++ compiler. - -Introduced here: http://svnweb.freebsd.org/changeset/base/257109 - -Index: tools/clang/tools/driver/driver.cpp -=================================================================== ---- tools/clang/tools/driver/driver.cpp -+++ tools/clang/tools/driver/driver.cpp -@@ -215,6 +215,7 @@ static void ParseProgName(SmallVectorImpl<const ch - } suffixes [] = { - { "clang", 0 }, - { "clang++", "--driver-mode=g++" }, -+ { "clang-CC", "--driver-mode=g++" }, - { "clang-c++", "--driver-mode=g++" }, - { "clang-cc", 0 }, - { "clang-cpp", "--driver-mode=cpp" }, -@@ -221,6 +222,7 @@ static void ParseProgName(SmallVectorImpl<const ch - { "clang-g++", "--driver-mode=g++" }, - { "clang-gcc", 0 }, - { "clang-cl", "--driver-mode=cl" }, -+ { "CC", "--driver-mode=g++" }, - { "cc", 0 }, - { "cpp", "--driver-mode=cpp" }, - { "cl" , "--driver-mode=cl" }, |