gn build: Build libclang.so and libLTO.so on ELF platforms.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 23 Nov 2020 19:45:06 +0000 (11:45 -0800)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 18 Aug 2021 20:48:33 +0000 (13:48 -0700)
commitb2e77cd095a677bcd7a3ba4fb3da5c811e994cc9
tree8b9bd5dbdf86acaf202e4ee693615ab58bf14298
parent3d91d5b757ff15f1c57a165e5d530320ac1428bd
gn build: Build libclang.so and libLTO.so on ELF platforms.

This requires changing the ELF build to enable -fPIC, consistent
with other platforms.

Differential Revision: https://reviews.llvm.org/D108223
llvm/utils/gn/build/BUILD.gn
llvm/utils/gn/secondary/clang/tools/libclang/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/lto/BUILD.gn