clang/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 69846b298a2f36baeda8ae1301bf402e8103b45d Author: Tor Lillqvist <t...@collabora.com> Date: Thu Nov 10 18:21:38 2016 +0200 Adapt for Fedora It has the libLLVM* libraries as statis so need to re-arrange libraries on the linking command line. Also need to add -ldl and -lpthread. Hopefully should not harm on other distros. diff --git a/clang/Makefile b/clang/Makefile index 4679fb9..7bdbec8 100644 --- a/clang/Makefile +++ b/clang/Makefile @@ -3,7 +3,7 @@ CLANGDEFS=-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti CLANGWARNS=-Werror -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunused-macros -Wshadow -Woverloaded-virtual CLANGFLAGS = $(CLANGDEFS) $(CLANGWARNS) -g -std=c++11 -CLANGLIBS = -lLLVMSupport -lclangAST -lclangBasic -lclangFrontend -lclangRewrite -lclangTooling +CLANGLIBS = -lclangAST -lclangBasic -lclangFrontend -lclangRewrite -lclangTooling -lLLVMSupport ifneq ($(GCOV),) CLANGFLAGS += --coverage endif @@ -11,10 +11,10 @@ endif all: bin/rename bin/find-unprefixed-members bin/rename: rename.cxx Makefile - clang++ $(CLANGFLAGS) $(CLANGLIBS) -o $@ $< + clang++ $(CLANGFLAGS) $(CLANGLIBS) -ldl -lpthread -o $@ $< bin/find-unprefixed-members: find-unprefixed-members.cxx Makefile - clang++ $(CLANGFLAGS) $(CLANGLIBS) -o $@ $< + clang++ $(CLANGFLAGS) $(CLANGLIBS) -ldl -lpthread -o $@ $< test: test.cxx test.hxx Makefile clang++ -o test test.cxx _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits