summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/lib/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt
index 22a9bf381c8..1b10bc68ca0 100644
--- a/libcxx/lib/CMakeLists.txt
+++ b/libcxx/lib/CMakeLists.txt
@@ -105,10 +105,6 @@ if (LIBCXXABI_USE_LLVM_UNWINDER)
endif()
# Setup flags.
-if (NOT WIN32)
- add_flags_if_supported(-fPIC)
-endif()
-
add_link_flags_if_supported(-nodefaultlibs)
if (LIBCXX_TARGETING_MSVC)
OpenPOWER on IntegriCloud