toolchain-glibc.eclass: ignore USE=headers-only for native case, bug #677474
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 7 Feb 2019 22:59:12 +0000 (22:59 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 7 Feb 2019 23:02:37 +0000 (23:02 +0000)
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>
eclass/toolchain-glibc.eclass

index 7c134682db5f388f092db19d727398874d860986..6698f2045e22306a251a687a60f4a65af73575f9 100644 (file)
@@ -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.