Re: git: 348c10112de6 - main - devel/freebsd-gcc9: Build with -std=c++11.

From: Alexey Dokuchaev <danfe_at_freebsd.org>
Date: Wed, 05 Jul 2023 03:29:19 UTC
On Tue, Jul 04, 2023 at 05:14:37PM +0000, John Baldwin wrote:
> commit 348c10112de61df7e66ea2d5a190700213542caa
> 
>   devel/freebsd-gcc9: Build with -std=c++11.
> 
>   This works around errors from clang from LLVM16 due to -Wregister
>   warnings that are fatal in the default C++ standard (C++17) used by
>   clang 16.
> ---
> @@ -26,6 +26,8 @@ TARGETARCH=	${FLAVOR}
>  USES=		compiler:c++11-lang cpe gmake iconv libtool makeinfo tar:xz
>  CPE_VENDOR=	gnu
>  
> +CXXFLAGS+=	-std=c++11
> +

We have USE_CXXSTD for that in the b.p.m.

./danfe