[PATCH] D13673: Add initial support for the MUSL C library.
Vasileios Kalintiris via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 12 14:10:40 PDT 2015
vkalintiris created this revision.
vkalintiris added reviewers: mclow.lists, jroelofs, EricWF.
vkalintiris added a subscriber: cfe-commits.
vkalintiris added a dependency: D13407: [libcxx] Capture configuration information when installing the libc++ headers.
Herald added subscribers: srhines, danalbert, tberghammer, jfb.
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.
http://reviews.llvm.org/D13673
Files:
CMakeLists.txt
include/__config
include/__config_site.in
include/__locale
include/support/musl/xlocale.h
src/locale.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13673.37169.patch
Type: text/x-patch
Size: 11342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151012/f954ee32/attachment.bin>
More information about the cfe-commits
mailing list