freebsd-skq/lib/clang
Dimitry Andric 7eee172052 Fix the mips64 world build after r364284.
Linking the full version of clang 11 results in errors similar to:

lld: error: /usr/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:736:(.text._ZN5clang4ento22CreateAnalysisConsumerERNS_16CompilerInstanceE+0xE0): relocation R_MIPS_CALL16 out of range: 48920 is not in [-32768, 32767]; references operator new(unsigned long)

Add -mxgot to the compilation flags for llvm libraries to work around
this error. This may be too big of a hammer, but it can always be
refined later.

MFC after:	6 weeks
2020-08-19 17:05:30 +00:00
..
headers Re-add generated arm_neon.h header, which was accidentally dropped while 2020-08-07 18:12:37 +00:00
include Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 2020-08-15 12:29:55 +00:00
libclang Put clang/lib/Tooling/Core/Replacement.cpp under SRCS_MIN, since it is 2020-08-06 20:55:18 +00:00
liblldb Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, 2020-08-06 19:30:00 +00:00
libllvm Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, 2020-08-06 19:30:00 +00:00
libllvmminimal Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds, 2020-08-06 19:30:00 +00:00
clang.build.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
clang.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
freebsd_cc_version.h * Bump version numbers to 10.0.0 2020-01-25 16:23:49 +00:00
lldb.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
llvm.build.mk Fix the mips64 world build after r364284. 2020-08-19 17:05:30 +00:00
llvm.pre.mk Move all sources from the llvm project into contrib/llvm-project. 2019-12-20 19:53:05 +00:00
Makefile Completely revamp the way llvm, clang and lldb are built. 2016-08-26 22:44:22 +00:00
Makefile.inc Add WITH_PIE knob to build Position Independent Executables 2019-02-15 22:22:38 +00:00