diff options
author | 2019-02-14 08:40:16 +0000 | |
---|---|---|
committer | 2019-02-14 08:40:16 +0000 | |
commit | 446facbeba73871b45607122a1c66b8ed54f2262 (patch) | |
tree | 2a772fc4e4414efd421d82484393385da8ee040b /lib/libssl/ssl_methods.c | |
parent | spelling/consistency fix; from nam nguyen (diff) | |
download | wireguard-openbsd-446facbeba73871b45607122a1c66b8ed54f2262.tar.xz wireguard-openbsd-446facbeba73871b45607122a1c66b8ed54f2262.zip |
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 'lib/libssl/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions