Re: git: 84ba2383e7be - main - games/openenroth: unbreak the port's build in pre-C++20 environments
- Reply: Alexey Dokuchaev : "Re: git: 84ba2383e7be - main - games/openenroth: unbreak the port's build in pre-C++20 environments"
- In reply to: Alexey Dokuchaev : "git: 84ba2383e7be - main - games/openenroth: unbreak the port's build in pre-C++20 environments"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Feb 2023 15:17:06 UTC
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.