From 4820136b6aadbc80d05702e16ef1cfc01bce3ccc Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 30 Dec 2015 16:14:30 +0000 Subject: Drop the clang patch which adds recognition of 'CC' suffixes as aliases for --driver-mode=g++, since this was never upstreamed. For backwards compatibility, add a wrapper shell script. MFC after: 1 week --- contrib/llvm/patches/patch-02-add-CC-aliases.diff | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 contrib/llvm/patches/patch-02-add-CC-aliases.diff (limited to 'contrib/llvm/patches/patch-02-add-CC-aliases.diff') diff --git a/contrib/llvm/patches/patch-02-add-CC-aliases.diff b/contrib/llvm/patches/patch-02-add-CC-aliases.diff deleted file mode 100644 index 884b14c..0000000 --- a/contrib/llvm/patches/patch-02-add-CC-aliases.diff +++ /dev/null @@ -1,23 +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 -@@ -213,11 +213,13 @@ static const DriverSuffix *FindDriverSuffix(String - {"clang", nullptr}, - {"clang++", "--driver-mode=g++"}, - {"clang-c++", "--driver-mode=g++"}, -+ {"clang-CC", "--driver-mode=g++"}, - {"clang-cc", nullptr}, - {"clang-cpp", "--driver-mode=cpp"}, - {"clang-g++", "--driver-mode=g++"}, - {"clang-gcc", nullptr}, - {"clang-cl", "--driver-mode=cl"}, -+ {"CC", "--driver-mode=g++"}, - {"cc", nullptr}, - {"cpp", "--driver-mode=cpp"}, - {"cl", "--driver-mode=cl"}, -- cgit v1.1