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

Yuri yuri at rawbw.com
Wed Jun 15 18:27:05 UTC 2016


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



More information about the freebsd-ports mailing list