[oclgrind] 02/02: Fix Clang library link order.
James Price
jprice-guest at moszumanska.debian.org
Wed Sep 9 00:47:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
jprice-guest pushed a commit to branch master
in repository oclgrind.
commit c18887e7eaeb1ca4c674f1bf6b80f3cf618a75e6
Author: James Price <j.price at bristol.ac.uk>
Date: Wed Sep 9 01:45:41 2015 +0100
Fix Clang library link order.
---
debian/patches/clang-library-order.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/clang-library-order.patch b/debian/patches/clang-library-order.patch
new file mode 100644
index 0000000..5efdf77
--- /dev/null
+++ b/debian/patches/clang-library-order.patch
@@ -0,0 +1,18 @@
+Description: Fix Clang library link order.
+Author: James Price <j.price at bristol.ac.uk>
+Last-Update: 2015-09-09
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -140,9 +140,9 @@
+ src/plugins/MemCheck.cpp
+ src/plugins/RaceDetector.h
+ src/plugins/RaceDetector.cpp)
+-target_link_libraries(oclgrind ${CORE_EXTRA_LIBS}
+- clangAnalysis clangAST clangBasic clangCodeGen clangDriver clangEdit
+- clangFrontend clangLex clangParse clangSema clangSerialization
++target_link_libraries(oclgrind PRIVATE ${CORE_EXTRA_LIBS}
++ clangFrontend clangSerialization clangDriver clangCodeGen clangSema
++ clangAnalysis clangEdit clangAST clangParse clangSema clangLex clangBasic
+ ${LLVM_LIBS})
+ set_target_properties(oclgrind PROPERTIES OUTPUT_NAME oclgrind-15.5)
+
diff --git a/debian/patches/series b/debian/patches/series
index 6dda7d8..eb283b0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ do-not-install-license.patch
fix-llvm37.patch
library-versions.patch
pch-location.patch
+clang-library-order.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/oclgrind.git
More information about the Pkg-opencl-commits
mailing list