[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
Fri Oct 14 05:30:29 PDT 2016


mgorny added a comment.

In https://reviews.llvm.org/D25431#570227, @EricWF wrote:

> Why not just compile the sources files as C++ by changing their extensions? This change seems all kinds of wrong because we're throwing away *all* of our flags, including things like `-m32` or `-target <cross-compile-target>`.


That's another option. Having a lot of other problems on Solaris at the time, using a separate library was simpler to test. I will try this alternative today.


https://reviews.llvm.org/D25431





More information about the cfe-commits mailing list