diff options
author | Sam Clegg <sbc@chromium.org> | 2019-03-29 22:08:56 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2019-03-29 22:08:56 +0000 |
commit | 31a991eeba4f22b9fc0bc6a6b981a600e66f09ac (patch) | |
tree | a8b25bbefb5723cd74e6d759847c6857c051966b /clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp | |
parent | 5f0c4c67bbff5374b196578486a16147cb786548 (diff) | |
download | bcm5719-llvm-31a991eeba4f22b9fc0bc6a6b981a600e66f09ac.tar.gz bcm5719-llvm-31a991eeba4f22b9fc0bc6a6b981a600e66f09ac.zip |
[libc++abi] Don't set POSITION_INDEPENDENT_CODE when building static library
With the current WebAssembly backend, objects built with -fPIC are not
compatible with static linking. libc++abi was (mistakenly?) adding
-fPIC to the objects it was including in a static library.
IIUC this change should also mean the static build can be more efficient
on all platforms.
Differential Revision: https://reviews.llvm.org/D60005
llvm-svn: 357322
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp')
0 files changed, 0 insertions, 0 deletions