Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] conversion of USE=nocxx to USE=cxx
Date: Sun, 13 Nov 2011 18:43:17
Message-Id: 201111131342.43558.vapier@gentoo.org
now that we have USE=cxx, and base/make.defaults has USE=cxx, i'd like to 
migrate gcc away from USE=nocxx.

since this can be a pickle, i'd propose toolchain.eclass grow the checks:
	- use cxx && use nocxx && die
	- use !cxx && use !nocxx && die

this way when i do cut over from USE=nocxx to USE=cxx, we don't end up with 
users missing C++ compilers simply because they have old make.conf settings 
that started out with:
	USE="-* ..."

there are other ebuilds in the tree now that have USE=nocxx, but i'll take 
care of converting them.
-mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] conversion of USE=nocxx to USE=cxx Mike Gilbert <floppym@g.o>
Re: [gentoo-dev] conversion of USE=nocxx to USE=cxx Mike Frysinger <vapier@g.o>