diff options
author | dim <dim@FreeBSD.org> | 2015-05-30 15:36:23 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-05-30 15:36:23 +0000 |
commit | 3cd22c5584a700a2036b948ef96ae41bbd233bb6 (patch) | |
tree | e9f6288dce1b090572b6ade998862abc53e54b80 /contrib/llvm/patches/patch-02-add-CC-aliases.diff | |
parent | e3e0f940d5a51d987e16f07a7e27c1a99c8972c2 (diff) | |
download | FreeBSD-src-3cd22c5584a700a2036b948ef96ae41bbd233bb6.zip FreeBSD-src-3cd22c5584a700a2036b948ef96ae41bbd233bb6.tar.gz |
Drop llvm/clang patches which are no longer necessary.
Diffstat (limited to 'contrib/llvm/patches/patch-02-add-CC-aliases.diff')
-rw-r--r-- | contrib/llvm/patches/patch-02-add-CC-aliases.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/llvm/patches/patch-02-add-CC-aliases.diff b/contrib/llvm/patches/patch-02-add-CC-aliases.diff new file mode 100644 index 0000000..884b14c --- /dev/null +++ b/contrib/llvm/patches/patch-02-add-CC-aliases.diff @@ -0,0 +1,23 @@ +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"}, |