[libcxx-commits] [PATCH] D59146: [libc++] Do not force building with -fPIC

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 8 14:23:44 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rCXX355746: [libc++] Do not force building with -fPIC (authored by ldionne, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D59146?vs=189897&id=189938#toc

Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59146/new/

https://reviews.llvm.org/D59146

Files:
  lib/CMakeLists.txt


Index: lib/CMakeLists.txt
===================================================================
--- lib/CMakeLists.txt
+++ lib/CMakeLists.txt
@@ -105,10 +105,6 @@
 endif()
 
 # Setup flags.
-if (NOT WIN32)
-  add_flags_if_supported(-fPIC)
-endif()
-
 add_link_flags_if_supported(-nodefaultlibs)
 
 if (LIBCXX_TARGETING_MSVC)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59146.189938.patch
Type: text/x-patch
Size: 323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190308/fe3387ff/attachment.bin>


More information about the libcxx-commits mailing list