Date: Sat, 18 Mar 2017 15:17:27 -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: <ec4f2b87-0155-bb88-c6c9-e61bb5a3a9e5@rawbw.com> In-Reply-To: <20170318215907.6364e561@bsd64.grem.de> References: <cd02dae4-ed76-effa-923d-8222d2c68764@rawbw.com> <20170318215907.6364e561@bsd64.grem.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/18/2017 13:59, Michael Gmelin wrote: > Afaik this is intentional and the point is to depend on a compiler that > can support those features (hence the comments in compiler.mk: "The port > needs a compiler understanding Cxx..."), but setting CXXFLAGS > accordingly is up to the project (through cmake/configure etc.) or the > port. compiler:c++11-lang is supposed to add the flag when the compiler doesn't support c++11 by default. It is also supposed to upgrade the compiler (use the higher version from ports) when the base compiler. Am I misunderstanding the purpose of compiler:c++11-lang? Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ec4f2b87-0155-bb88-c6c9-e61bb5a3a9e5>