DescriptionCherry-pick upstream r252457
Add initial support for the MUSL C library.
Summary:
This patch adds the LIBCXX_LIBC_IS_MUSL cmake option to allow the
building of libcxx with the Musl C library. The option is necessary as
Musl does not provide any predefined macro in order to test for its
presence, like GLIBC. Most of the changes specify the correct path to
choose through the various #if/#else constructs in the locale code.
Depends on D13407.
Reviewers: mclow.lists, jroelofs, EricWF
Subscribers: jfb, tberghammer, danalbert, srhines, cfe-commits
Differential Revision: http://reviews.llvm.org/D13673
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@252457 91177308-0d34-0410-b5e6-96231b3b80d8
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4335
R=dschuff@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-libcxx.git;a=commit;h=91a5433c0c5e891098987276f3c6e98fe5c1b86a
Patch Set 1 #Patch Set 2 : Use _LIBCPP_HAS_MUSL_LIBC directly instead of __musl__ #Patch Set 3 : Add missing _LIBCPP_HAS_MUSL_LIBC check #Patch Set 4 : Use __musl__ define to detect musl #
Messages
Total messages: 6 (3 generated)
|