summaryrefslogtreecommitdiffhomepage
path: root/patches/clang_host/clang-0008-LLVM_PREFIX.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/clang_host/clang-0008-LLVM_PREFIX.patch')
-rw-r--r--patches/clang_host/clang-0008-LLVM_PREFIX.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/clang_host/clang-0008-LLVM_PREFIX.patch b/patches/clang_host/clang-0008-LLVM_PREFIX.patch
new file mode 100644
index 00000000..8599276c
--- /dev/null
+++ b/patches/clang_host/clang-0008-LLVM_PREFIX.patch
@@ -0,0 +1,11 @@
+--- cfe-3.8.1.src/lib/Driver/CMakeLists.txt.orig 2015-07-02 04:45:27.000000000 +0000
++++ cfe-3.8.1.src/lib/Driver/CMakeLists.txt 2017-01-19 19:22:36.869663323 +0000
+@@ -3,6 +3,8 @@
+ Support
+ )
+
++add_definitions(-DLLVM_PREFIX="${LLVM_PREFIX}")
++
+ add_clang_library(clangDriver
+ Action.cpp
+ Compilation.cpp