summarylogtreecommitdiffstats
path: root/opencl-autotools-Fix-linking-order-for-OpenCL-target.patch
blob: 5ff91ff2578f999f9a54501ac093d93e1af03820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 \