tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

c++11



Hi!

Currently, when a package needs C++11, we set

CXXFLAGS+= -std=c++11

and hope for the best, i.e. that the platform compiler supports this.

Shouldn't we rather add support to USE_LANGUAGES like this:

USE_LANGUAGES+=	c++11

and make bsd.pkg.mk set CXXFLAGS and request a good-enough compiler?
 Thomas


Home | Main Index | Thread Index | Old Index