Mesa (master): opencl: autotools: Fix linking order for OpenCL target
Jan Vesely
jvesely at kemper.freedesktop.org
Tue May 15 02:46:15 UTC 2018
Module: Mesa
Branch: master
Commit: b691d9192c436aba5a76577b7d772a791283a2e2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b691d9192c436aba5a76577b7d772a791283a2e2
Author: Kai Wasserbäch <kai at dev.carbon-project.org>
Date: Tue May 1 14:14:46 2018 +0200
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 at rutgers.edu>
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Kai Wasserbäch <kai at dev.carbon-project.org>
Acked-by: Jan Vesely <jan.vesely at rutgers.edu>
Tested-by: Aaron Watry <awatry at gmail.com>
Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
---
src/gallium/targets/opencl/Makefile.am | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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 at OPENCL_LIBNAME@_la_LIBADD = \
$(LIBELF_LIBS) \
$(DLOPEN_LIBS) \
-lclangCodeGen \
- -lclangFrontendTool \
-lclangFrontend \
+ -lclangFrontendTool \
-lclangDriver \
-lclangSerialization \
- -lclangCodeGen \
-lclangParse \
-lclangSema \
-lclangAnalysis \
More information about the mesa-commit
mailing list