From a389baf98dd67ea9b1f22acb2aa227543ff88e9d Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 10 Apr 2022 11:54:00 +0100 Subject: [PATCH] sys-libs/glibc: add filter-flags for CET to 2.34-r10 too May as well add it to the stable one as lots of people seem to be shoving this in CFLAGS in make.conf now and don't want more dupes. See 256df48ff6e85ffa389cc2d25453d100279b62fe for more background. Bug: https://bugs.gentoo.org/830454 See: 256df48ff6e85ffa389cc2d25453d100279b62fe Signed-off-by: Sam James --- sys-libs/glibc/glibc-2.34-r10.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys-libs/glibc/glibc-2.34-r10.ebuild b/sys-libs/glibc/glibc-2.34-r10.ebuild index 0bc6be3e278bc..e607faf133390 100644 --- a/sys-libs/glibc/glibc-2.34-r10.ebuild +++ b/sys-libs/glibc/glibc-2.34-r10.ebuild @@ -440,6 +440,9 @@ setup_flags() { replace-flags -O0 -O1 filter-flags '-fstack-protector*' + + # See end of bug #830454; we handle this via USE=cet + filter-flags '-fcf-protection=' } use_multiarch() {