Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2016 14:25:48 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Yuri <yuri@rawbw.com>, ports@freebsd.org
Cc:        portmgr@FreeBSD.org
Subject:   Re: USES=compiler:c++14-lang still adds -std=c++11 to CXXFLAGS
Message-ID:  <B9ABCBC4EDD9BFF4D3444A68@ogg.in.absolight.net>
In-Reply-To: <44B29C67AD8CACB1CE4335E3@ogg.in.absolight.net>
References:  <68938eb6-daef-7300-526a-1b501af51bf2@rawbw.com> <44B29C67AD8CACB1CE4335E3@ogg.in.absolight.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========88467DF1BB98111E4B0B==========
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline



+--On 16 juin 2016 14:10:41 +0200 Mathieu Arnold <mat@FreeBSD.org> wrote:
| 
| 
| +--On 15 juin 2016 11:26:57 -0700 Yuri <yuri@rawbw.com> wrote:
|| I have a port that needs c++14. USES statements are like this:
|| 
|| USES=        compiler:c++14-lang gmake qmake
|| USE_QT5= core gui network
|| 
|| Yet, compiler command lines still have -std=c++11, and build fails
|| because of the lack of c++14 support.
|| 
|| What is wrong? I think this is a bug in /usr/ports/Mk/Uses/compiler.mk
| 
| As far as I can see, you need to add USE_CSTD=c++14 to your port Makefile.

Mmmm, maybe USE_CXXSTD=c++14.

-- 
Mathieu Arnold
--==========88467DF1BB98111E4B0B==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJXYprMXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz
QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I5hEQAJVSIrduCL8/qLespypGY398
GyoYNR2OpxsIoljd+5DZE2Yl7p8AW1x4Wruq/atVWILxbFr6OU9Gn5x+1BbBjJ6x
h2Y50DUlOgcXT0ZH+GYxaFh6VGJwP9srWVK4HKvh6aTGVZGK0Ka4BcBXfux53DK9
uVdqXF9BuDNUDZtxHpwZ08n2oCFEkZttRRON9/5fp39jBKYUx59vl6fqWAV1QoUh
krY8Ji2jd7YXXLck0jWQc4oicfMDg/QOS4il5K1jFozb3EtbM2YWUyUOD1Z6MnDb
7LInOO7MgCqM2su8v0G3MmmDy34woHyxDuioX7YCy80AqA/GfXGnq0BNa/Kebpwx
CY9VCs5WlCA7e4axuXG9dFKoJ2v0TfsWmJmTE+MP9SnyPtyy93ZS0HeFJEQ6y133
7llxRhChcJ73xD7QiI/xVvmRtPzlsO0vWtJJ4HNENp/bB5lxVLfAvIFKXm2BNrdS
ZP+04hoWgAb6NulabUTLYfezSfpBwUkj9eewBXwhQQU0P5MqYEYZniQvmq/eGh/A
ktm4ebRWkg29hsjnD157rxh2dViH0PcVH1Dp+VBw5d4x4sQc8f2sILvg6zrlMbsh
wMfNM1ImSVlu/sybC5w/1xHpgW1szvkTP06ssPxJrWs7EQAZAXBGIws+ykoailp7
vf0OyuJyyp4OUE5BNHsc
=QQ0M
-----END PGP SIGNATURE-----

--==========88467DF1BB98111E4B0B==========--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9ABCBC4EDD9BFF4D3444A68>