Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Feb 2023 16:17:06 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 84ba2383e7be - main - games/openenroth: unbreak the port's build in pre-C++20 environments
Message-ID:  <v8kh-4g0d-wny@FreeBSD.org>
In-Reply-To: <202302041511.314FBD0R014553@gitrepo.freebsd.org> (Alexey Dokuchaev's message of "Sat, 4 Feb 2023 15:11:13 GMT")
References:  <202302041511.314FBD0R014553@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Dokuchaev <danfe@FreeBSD.org> writes:

> +.if !exists(/usr/include/c++/v1/concepts)
> +BUILD_DEPENDS+=	${LOCALBASE}/include/boost/unordered_map.hpp:devel/boost-libs
> +USES+=		llvm:13
> +CXX=		${LLVM_PREFIX}/bin/clang++

Beware, setting CXX but not CC can break WITH_LTO. Compiler bitcode is
generally not compatible between different compiler versions/vendors.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v8kh-4g0d-wny>