commit:     26aa836f4404981b7c3441a5bc9cb5a556c363ba
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  7 22:59:12 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb  7 23:02:37 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26aa836f

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 <AT> gentoo.org>

 eclass/toolchain-glibc.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
index 7c134682db5..6698f2045e2 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.

Reply via email to