compiler:c++11-lang doesn't ensure c++11?

Yuri yuri at rawbw.com
Sat Mar 18 22:17:31 UTC 2017


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



More information about the freebsd-ports mailing list