diff options
author | Sam James <sam@gentoo.org> | 2022-01-24 14:36:50 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-24 14:36:50 +0000 |
commit | ff567fa404228cb9a302b379e88f553497ea38d6 (patch) | |
tree | 96b7d010fcb1bfd3121c1c99427b12af22bafe98 /profiles/base | |
parent | profiles/arch/{alpha,ia64,*/ppc32,sparc}: drop glint from VIDEO_CARDS (diff) | |
download | gentoo-ff567fa404228cb9a302b379e88f553497ea38d6.tar.gz gentoo-ff567fa404228cb9a302b379e88f553497ea38d6.tar.bz2 gentoo-ff567fa404228cb9a302b379e88f553497ea38d6.zip |
profiles/base: mask sys-libs/glibc[custom-cflags]
It's far too dangerous and leads to both build-time failures
for glibc itself and runtime crashes for other programs depending
on the flags used.
Mask it so people have to actually unmask it in order to footgun
themselves.
(USE=custom-cflags in make.conf may or may not be advisible
(rather than setting it per-package in package.use), but it's
generally not going to be as dangerous for most/all packages
as it is for glibc, so it makes sense to make it harder to
do it for just glibc.)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles/base')
-rw-r--r-- | profiles/base/package.use.mask | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask index 8bb3a942ab06..67d7c4ca7ca1 100644 --- a/profiles/base/package.use.mask +++ b/profiles/base/package.use.mask @@ -6,6 +6,13 @@ # This file is only for generic masks. For arch-specific masks (i.e. # mask everywhere, unmask on arch/*) use arch/base. +# Sam James <sam@gentoo.org> (2021-01-24) +# USE=custom-cflags is _particularly_ dangerous on sys-libs/glibc and +# can result in not just build-time failures for glibc itself, but +# runtime crashes. The effect of using USE=custom-cflags globally in make.conf +# isn't the same as it is for just glibc specifically. +sys-libs/glibc custom-cflags + # Sam James <sam@gentoo.org> (2022-01-23) # Java bindings are broken with OpenJDK 11+ and we're not # aware of any consumers. bug #713866 |