pkg-mesa-qcom-git/opencl-autotools-Fix-linking-order-for-OpenCL-target.patch
2018-05-13 13:04:42 +02:00

18 lines
513 B
Diff

diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index de68a93ad5..f0e1de7797 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -23,11 +23,10 @@ lib@OPENCL_LIBNAME@_la_LIBADD = \
$(LIBELF_LIBS) \
$(DLOPEN_LIBS) \
-lclangCodeGen \
- -lclangFrontendTool \
-lclangFrontend \
+ -lclangFrontendTool \
-lclangDriver \
-lclangSerialization \
- -lclangCodeGen \
-lclangParse \
-lclangSema \
-lclangAnalysis \