USES=compiler:c++14-lang still adds -std=c++11 to CXXFLAGS

Mathieu Arnold mat at FreeBSD.org
Thu Jun 16 22:09:27 UTC 2016



+--On 16 juin 2016 10:20:22 -0700 Yuri <yuri at rawbw.com> wrote:
| On 06/16/2016 08:57, Yuri wrote:
|>> 
|>> Mmmm, maybe USE_CXXSTD=c++14.
|> 
|> 
|> No, none of these helped. 
| 
| 
| Actually, USE_CXXSTD=c++14 does add -std=c++14, but it is cleared by the
| subsequent -std=c++11 added by compiler:c++14-lang.
| 
| So this is definitely a bug.
| https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210327

Nothing in compiler.mk sets CXXSTD or CSTD, so it must be your software
doing it.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160617/734dca0b/attachment.sig>


More information about the freebsd-ports mailing list