Date: Sat, 18 Mar 2017 16:08:48 -0700 From: Yuri <yuri@rawbw.com> To: Michael Gmelin <freebsd@grem.de> Cc: "ports@freebsd.org" <ports@freebsd.org> Subject: Re: compiler:c++11-lang doesn't ensure c++11? Message-ID: <a45002db-fb28-2314-8957-48d5e64ca1bb@rawbw.com> In-Reply-To: <20170318234324.51c6ecb3@bsd64.grem.de> References: <cd02dae4-ed76-effa-923d-8222d2c68764@rawbw.com> <20170318215907.6364e561@bsd64.grem.de> <ec4f2b87-0155-bb88-c6c9-e61bb5a3a9e5@rawbw.com> <20170318234324.51c6ecb3@bsd64.grem.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/18/2017 15:43, Michael Gmelin wrote: > Do you have a reference where this is stated? AFAIK it's only there > to make sure to install a compiler that is capable of supporting that > version of the C++ standard, not to request the compiler to build each > and every translation unit of the port using it. Setting CXXFLAGS is > either done by the build system of the software you're porting (which > would it allow to use different versions if necessary) or can be > requested by setting USE_CXXSTD=c++xx in the port's Makefile. Sorry, I may have assumed too much. Now I see that compiler:c++11-lang upgrades the compiler to the compliant one, but leaves the flags to the project. Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a45002db-fb28-2314-8957-48d5e64ca1bb>