From: Kai Wasserbäch Date: Tue, 1 May 2018 12:14:46 +0000 (+0200) Subject: opencl: autotools: Fix linking order for OpenCL target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b691d9192c436aba5a76577b7d772a791283a2e2;p=mesa.git 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 Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Kai Wasserbäch Acked-by: Jan Vesely Tested-by: Aaron Watry Tested-by: Dieter Nützel --- 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 \