Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2016 11:26:57 -0700
From:      Yuri <yuri@rawbw.com>
To:        "ports@freebsd.org" <ports@freebsd.org>
Cc:        portmgr@FreeBSD.org
Subject:   USES=compiler:c++14-lang still adds -std=c++11 to CXXFLAGS
Message-ID:  <68938eb6-daef-7300-526a-1b501af51bf2@rawbw.com>

next in thread | raw e-mail | index | archive | help
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


Yuri




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68938eb6-daef-7300-526a-1b501af51bf2>