HomeFreeBSD

Compile libcxxrt as C++11, since it is only really used in combination

Description

Compile libcxxrt as C++11, since it is only really used in combination
with libc++, which is also C++11. Also change one _Static_assert (which
is really C11) back into static_assert, like upstream.

This should help when compiling libcxxrt with newer versions of gcc,
which refuse to recognize any form of static assertions, if not
compiling for C++11 or higher.

While here, add -nostdinc++ to CFLAGS, to prevent picking up any C++
headers outside the source tree.

Details

Provenance
dimAuthored on
Parents
rS297298: Plug leak in m_unshare.
Branches
Unknown
Tags
Unknown