configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit bde382a2568147c1a5eec0cb885856cd5aaae3ad Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Sun Dec 29 10:41:54 2019 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> 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 <sberg...@redhat.com> 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 libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits