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

Author: Kai Wasserbäch <[email protected]>
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Kai Wasserbäch <[email protected]>
Acked-by: Jan Vesely <[email protected]>
Tested-by: Aaron Watry <[email protected]>
Tested-by: Dieter Nützel <[email protected]>

---

 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to