Module: Mesa
Branch: master
Commit: b691d9192c436aba5a76577b7d772a791283a2e2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b691d9192c436aba5a76577b7d772a791283a2e2

Author: Kai Wasserbäch <k...@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.ves...@rutgers.edu>
Cc: mesa-sta...@lists.freedesktop.org
Signed-off-by: Kai Wasserbäch <k...@dev.carbon-project.org>
Acked-by: Jan Vesely <jan.ves...@rutgers.edu>
Tested-by: Aaron Watry <awa...@gmail.com>
Tested-by: Dieter Nützel <die...@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@OPENCL_LIBNAME@_la_LIBADD = \
        $(LIBELF_LIBS) \
        $(DLOPEN_LIBS) \
        -lclangCodeGen \
-       -lclangFrontendTool \
        -lclangFrontend \
+       -lclangFrontendTool \
        -lclangDriver \
        -lclangSerialization \
-       -lclangCodeGen \
        -lclangParse \
        -lclangSema \
        -lclangAnalysis \

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to