[PATCH] D25491: [libcxx] Use C++14 when building libc++ with musl

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 11 15:44:27 PDT 2016


phosek added a comment.

libc++ was already building with musl after https://reviews.llvm.org/D21637 was commited, but this broke recently as a consequence of r282640 which introduced the use of `_LIBCPP_SAFE_STATIC` for libc++ internal globals. I'm not sure if this is the best solution, but it's the only one I could come up with, apart from removing the use of `_LIBCPP_SAFE_STATIC`, which is undesirable, or removing the use of `volatile` from musl pthread structs, which is unlikely.


Repository:
  rL LLVM

https://reviews.llvm.org/D25491





More information about the cfe-commits mailing list