hanchenye-llvm-project/libcxxabi
Louis Dionne 21c24ae902 [runtimes] Always build libc++, libc++abi and libunwind with -fPIC
Building the libraries with -fPIC ensures that we can link an executable
against the static libraries with -fPIE. Furthermore, there is apparently
basically no downside to building the libraries with position independent
code, since modern toolchains are sufficiently clever.

This commit enforces that we always build the runtime libraries with -fPIC.
This is another take on D104327, which instead makes the decision of whether
to build with -fPIC or not to the build script that drives the runtimes'
build.

Fixes http://llvm.org/PR43604.

Differential Revision: https://reviews.llvm.org/D104328
2021-07-27 14:19:05 -04:00
..
cmake [runtimes] Don't try passing --target flags to GCC 2021-07-15 16:52:02 -04:00
fuzz
include
lib
src [runtimes] Always build libc++, libc++abi and libunwind with -fPIC 2021-07-27 14:19:05 -04:00
test [runtimes] Simplify how we set the target triple 2021-07-16 10:33:39 -04:00
www [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
.clang-format
.gitignore
CMakeLists.txt [runtimes] Simplify how we set the target triple 2021-07-16 10:33:39 -04:00
CREDITS.TXT
LICENSE.TXT