configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bde382a2568147c1a5eec0cb885856cd5aaae3ad
Author: Stephan Bergmann <[email protected]>
AuthorDate: Sun Dec 29 10:41:54 2019 +0100
Commit: Stephan Bergmann <[email protected]>
CommitDate: Sun Dec 29 16:17:50 2019 +0100
Fix order of CLANGTOOLLIBS archives
Building compilerplugins against recent Clang 10 trunk started to fail with
> [GEN] compilerplugins/clang/sharedvisitor/analyzer
[...]
> /usr/bin/ld:
/home/sbergman/llvm/inst/lib/libclangFrontend.a(CompilerInvocation.cpp.o): in
function `getOptimizationLevel(llvm::opt::ArgList&, clang::InputKind,
clang::DiagnosticsEngine&) [clone .isra.0]':
>
/home/sbergman/github.com/llvm/llvm-project/clang/include/clang/Driver/OptionUtils.h:40:
undefined reference to `clang::getLastArgIntValue(llvm::opt::ArgList const&,
llvm::opt::OptSpecifier, int, clang::DiagnosticsEngine*, unsigned int)'
[...]
Change-Id: I3b74d71bd2488ebd5cc7e3a88d4eb0451268141c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85934
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/configure.ac b/configure.ac
index ad246a64f37a..093027bcf524 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7252,7 +7252,7 @@ if test "$COM_IS_CLANG" = "TRUE"; then
LDFLAGS=""
AC_MSG_CHECKING([for clang libraries to use])
if test -z "$CLANGTOOLLIBS"; then
- LIBS="-lclangTooling -lclangDriver -lclangFrontend
-lclangParse -lclangSema -lclangEdit \
+ LIBS="-lclangTooling -lclangFrontend -lclangDriver
-lclangParse -lclangSema -lclangEdit \
-lclangAnalysis -lclangAST -lclangLex -lclangSerialization -lclangBasic
$COMPILER_PLUGINS_LINKFLAGS"
AC_LINK_IFELSE([
AC_LANG_PROGRAM([[#include
"clang/Basic/SourceLocation.h"]],
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits