projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8639af6
)
toolchain-glibc.eclass: ignore USE=headers-only for native case, bug #677474
author
Sergei Trofimovich
<slyfox@gentoo.org>
Thu, 7 Feb 2019 22:59:12 +0000
(22:59 +0000)
committer
Sergei 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
patch
|
blob
|
history
diff --git
a/eclass/toolchain-glibc.eclass
b/eclass/toolchain-glibc.eclass
index 7c134682db5f388f092db19d727398874d860986..6698f2045e22306a251a687a60f4a65af73575f9 100644
(file)
--- 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.