[PATCH] D25431: [libcxx] [CMake] Build Solaris compat as separate C lib, to avoid -std= issues

Michał Górny via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 06:12:18 PDT 2016


mgorny added a comment.

In https://reviews.llvm.org/D25431#566096, @theraven wrote:

> It sounds as if the bug here is either that the .c files are being treated as c++, or that we're sticking -std=c++{whatever} in CFLAGS as well as CXXFLAGS.  This is probably the bug that should be fixed.


We're sticking them into LIBCXX_COMPILE_FLAGS, to be more precise. And this is the only C file in the whole libcxx, so I'm not sure if anyone even remember about that ;-).


https://reviews.llvm.org/D25431





More information about the cfe-commits mailing list