[libcxx-commits] [PATCH] D60049: [libc++abi] Add LIBCXXABI_ENABLE_PIC cmake option

Sam Clegg via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 1 14:24:35 PDT 2019


sbc100 added a comment.

My understanding is that POSITION_INDEPENDENT_CODE should always be on when building shared libraries.  What would it mean to build a non-PIC shared library?

The motivation for this change is allow me to disable PIC code in non-shared libraries.   For WebAssembly we currently disable shared libraries so increasing the reach of this option wouldn't break us, but I'm not sure I see any reason to do that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60049





More information about the libcxx-commits mailing list