diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-08-17 23:49:01 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-08-17 23:56:07 +0100 |
commit | 006c932930706e3d1aed08c9b2270ea7c456050d (patch) | |
tree | e45f9d664021a70d6b524b2811d242b678a6829e /profiles/base | |
parent | app-editors/zile: Add conditional test restriction. (diff) | |
download | gentoo-006c932930706e3d1aed08c9b2270ea7c456050d.tar.gz gentoo-006c932930706e3d1aed08c9b2270ea7c456050d.tar.bz2 gentoo-006c932930706e3d1aed08c9b2270ea7c456050d.zip |
base/package.use.force: force sys-devel/gcc[cxx]
Modern gcc needs c++ to boostrap. Self-hosted Gentoo system
can't do it with USE=-cxx gcc. Historically toolchain.eclass
prevented from disabling the flag by accident.
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/692126
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'profiles/base')
-rw-r--r-- | profiles/base/package.use.force | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force index c68f65c9bc60..081b86bcd413 100644 --- a/profiles/base/package.use.force +++ b/profiles/base/package.use.force @@ -1,6 +1,12 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Sergei Trofimovich <slyfox@gentoo.org> (2019-08-17) +# USE=-cxx us a sure way to break native install as modern gcc +# requires C++ to bootstrap. But in rare cases it's useful +# to have a compiler not capable of C++, bug #692126. +sys-devel/gcc cxx + # Andreas K. Hüttel <dilfridge@gentoo.org> (2019-04-14) # Make sure glibc static libs are installed for now. Not installing # them is an experimental feature and needs testing. |