diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-02-14 08:40:17 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-02-14 08:40:17 +0000 |
commit | 0e7b8f9c849ccf0e03bab38bab7982260a86f89b (patch) | |
tree | 9e49ba10f16b91e2a9e1935c2232ae1043a36833 /usr.bin/mandoc/man_validate.c | |
parent | 1832812703a03d3547bafe875c62c505b341ae92 (diff) |
When bsd.lib.mk builds shared libraries it builds with -DPIC which
causes problems in the following files which use PIC as a variable name.
Undefine PIC in llvm-config.h to minimise the diff to upstream LLVM.
include/llvm/MC/MCObjectFileInfo.h
lib/MC/MCObjectFileInfo.cpp
lib/Transforms/Scalar/LICM.cpp
lib/Transforms/Utils/PredicateInfo.cpp
These are the files that would be built as part of a shared libLLVM.
There are other files with PIC variable names in clang code.
#undef PIC approach suggested by kettenis@
Diffstat (limited to 'usr.bin/mandoc/man_validate.c')
0 files changed, 0 insertions, 0 deletions