summaryrefslogtreecommitdiff
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorKai Wasserbäch <kai@dev.carbon-project.org>2018-05-01 14:14:46 +0200
committerJan Vesely <jan.vesely@rutgers.edu>2018-05-14 22:45:01 -0400
commitb691d9192c436aba5a76577b7d772a791283a2e2 (patch)
tree5ca0248ed1324c333eee2bf62d22be2910d00684 /src/gallium/targets
parent97b179570c092632589dba1bd0ed49ec3b4d5cd5 (diff)
opencl: autotools: Fix linking order for OpenCL target
Otherwise the build fails with an undefined reference to clang::FrontendTimesIsEnabled. Bugzilla: https://bugs.freedesktop.org/106209 Cc: Jan Vesely <jan.vesely@rutgers.edu> Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Acked-by: Jan Vesely <jan.vesely@rutgers.edu> Tested-by: Aaron Watry <awatry@gmail.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/opencl/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index de68a93ad53..f0e1de7797c 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 \