[macports-ports] branch master updated: esmf: fix build with gcc5 or earlier

Ryan Schmidt ryandesign at macports.org
Tue May 1 02:05:23 UTC 2018


On Apr 28, 2018, at 01:10, Takeshi Enomoto wrote:

> Takeshi Enomoto (tenomoto) pushed a commit to branch master
> in repository macports-ports.
> 
> 
> https://github.com/macports/macports-ports/commit/218d3fd276c65f9e22e19f7ec3ef686322e6a156
> 
> The following commit(s) were added to refs/heads/master by this push:
> 
>      new 218d3fd  esmf: fix build with gcc5 or earlier
> 
> 218d3fd is described below
> 
> 
> commit 218d3fd276c65f9e22e19f7ec3ef686322e6a156
> 
> Author: Takeshi Enomoto <takeshi at maport.org>

You have two typos in your email address.


> AuthorDate: Sat Apr 28 14:33:15 2018 +0900
> 
> 
>     esmf: fix build with gcc5 or earlier
> 


> +if {[variant_isset gcc47] || [variant_isset gcc48] || [variant_isset gcc49] || [variant_isset gcc5]} {
> +    configure.cxxflags-append   -std=c++11
> +} elseif {[variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46]} {
> +    configure.cxxflags-append   -std=c++0x
> +}

gcc6 and later don't need such a flag?



More information about the macports-dev mailing list