hfinkel added inline comments.
Comment at: CMakeLists.txt:327
# Required flags ==============================================================
set(LIBCXX_STANDARD_VER c++11 CACHE INTERNAL "internal option to change build
> phosek wrote:
> > EricWF wrote:
> > > Why not just set `LIBCXX_STANDARD_VER` differently instead of replacing
> > > it after the fact?
> > I totally missed it; this change was a part of a downstream patch we were
> > using for building Fuchsia toolchain and it predates this option. Using
> > this option, I can override the dialect only for our build, which is
> > perfectly fine for Fuchsia since we default to C++14. I'd be happy to
> > abandon this patch unless you want to persist that setting for musl?
> Since we support MUSL it would be nice if libc++ built out of the box. Making
> the option persistent for MUSL makes the most sense to me.
We should add a comment here, or where ever this logic ends up going, to
explain why this is needed.
cfe-commits mailing list