summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-10 11:54:00 +0100
committerSam James <sam@gentoo.org>2022-04-10 11:54:00 +0100
commita389baf98dd67ea9b1f22acb2aa227543ff88e9d (patch)
tree152e4da1023d74f88303654189628cb45829ab76 /sys-libs
parentapp-office/libreoffice: fix jdk-home typo (diff)
downloadgentoo-a389baf98dd67ea9b1f22acb2aa227543ff88e9d.tar.gz
gentoo-a389baf98dd67ea9b1f22acb2aa227543ff88e9d.tar.bz2
gentoo-a389baf98dd67ea9b1f22acb2aa227543ff88e9d.zip
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 <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/glibc-2.34-r10.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.34-r10.ebuild b/sys-libs/glibc/glibc-2.34-r10.ebuild
index 0bc6be3e278b..e607faf13339 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() {