diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-02-07 22:59:12 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-02-07 23:02:37 +0000 |
commit | 26aa836f4404981b7c3441a5bc9cb5a556c363ba (patch) | |
tree | cfa20debae4f40cbc4b3316e74831a2ce7b39ce1 /eclass/toolchain-glibc.eclass | |
parent | net-im/telegram-desktop-bin: drop old. (diff) | |
download | gentoo-26aa836f4404981b7c3441a5bc9cb5a556c363ba.tar.gz gentoo-26aa836f4404981b7c3441a5bc9cb5a556c363ba.tar.bz2 gentoo-26aa836f4404981b7c3441a5bc9cb5a556c363ba.zip |
toolchain-glibc.eclass: ignore USE=headers-only for native case, bug #677474
Let's not allow users to deinstall native glibc.
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/677474
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass/toolchain-glibc.eclass')
-rw-r--r-- | eclass/toolchain-glibc.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass index 7c134682db5f..6698f2045e22 100644 --- a/eclass/toolchain-glibc.eclass +++ b/eclass/toolchain-glibc.eclass @@ -371,7 +371,7 @@ setup_env() { export ABI=${ABI:-${DEFAULT_ABI:-default}} - if use headers-only ; then + if just_headers ; then # Avoid mixing host's CC and target's CFLAGS_${ABI}: # At this bootstrap stage we have only binutils for # target but not compiler yet. |