From 26aa836f4404981b7c3441a5bc9cb5a556c363ba Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 7 Feb 2019 22:59:12 +0000 Subject: toolchain-glibc.eclass: ignore USE=headers-only for native case, bug #677474 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- eclass/toolchain-glibc.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eclass/toolchain-glibc.eclass') 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. -- cgit v1.2.3-65-gdbad