2020-06-26 10:14:51 +02:00
|
|
|
diff -u -r pocl-1.5.orig/cmake/LLVM.cmake pocl-1.5/cmake/LLVM.cmake
|
|
|
|
--- pocl-1.5.orig/cmake/LLVM.cmake 2020-06-25 12:22:37.500539000 +0200
|
|
|
|
+++ pocl-1.5/cmake/LLVM.cmake 2020-06-25 12:23:23.091551000 +0200
|
|
|
|
@@ -219,7 +219,7 @@
|
2019-11-04 22:32:39 +01:00
|
|
|
string(REGEX REPLACE "-W[^ ]*" "" LLVM_CXXFLAGS "${LLVM_CXXFLAGS}")
|
|
|
|
|
|
|
|
# Llvm-config does not include clang libs
|
2020-06-26 10:14:51 +02:00
|
|
|
-if((9 LESS LLVM_MAJOR) AND (LLVM_LIB_IS_SHARED MATCHES "shared"))
|
|
|
|
+if((8 LESS LLVM_MAJOR) AND (LLVM_LIB_IS_SHARED MATCHES "shared"))
|
|
|
|
# Link against a single shared library instead of multiple component shared
|
|
|
|
# libraries.
|
|
|
|
set(CLANG_LIBNAMES clang-cpp)
|