diff options
author | Sam James <sam@gentoo.org> | 2022-06-07 09:02:54 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-07 09:04:59 +0100 |
commit | 5f58c0be83b23be42aa2e6452c4b4bfd875fcbbb (patch) | |
tree | b1e1ea7bf28bd209073b1773320672d47e6184ec /dev-lang/python/python-3.10.5.ebuild | |
parent | sci-libs/libsigrok: Stabilize 0.5.2-r3 x86, #849902 (diff) | |
download | gentoo-5f58c0be83b23be42aa2e6452c4b4bfd875fcbbb.tar.gz gentoo-5f58c0be83b23be42aa2e6452c4b4bfd875fcbbb.tar.bz2 gentoo-5f58c0be83b23be42aa2e6452c4b4bfd875fcbbb.zip |
dev-lang/python: drop long-obsolete SSP / -O3 workaround
Everyone in Gentoo (unless they unforce defaults) had, for years now,
-fstack-protector-all on, or nowadays, -fstack-protector-strong.
This means that it won't have been explicitly in *FLAGS and hence
the replacement won't have been triggered anyway.
Plus, the hardened conditional is irrelevant given the above
(it uses no more SSP than the default, because the default
is what hardened used to be, many years ago).
Bug: https://bugs.gentoo.org/50309
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-3.10.5.ebuild')
-rw-r--r-- | dev-lang/python/python-3.10.5.ebuild | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dev-lang/python/python-3.10.5.ebuild b/dev-lang/python/python-3.10.5.ebuild index 87ba9d3a2e1d..18d079692b96 100644 --- a/dev-lang/python/python-3.10.5.ebuild +++ b/dev-lang/python/python-3.10.5.ebuild @@ -151,12 +151,6 @@ src_configure() { filter-flags -malign-double - # https://bugs.gentoo.org/show_bug.cgi?id=50309 - if is-flagq -O3; then - is-flagq -fstack-protector-all && replace-flags -O3 -O2 - use hardened && replace-flags -O3 -O2 - fi - # https://bugs.gentoo.org/700012 if is-flagq -flto || is-flagq '-flto=*'; then append-cflags $(test-flags-CC -ffat-lto-objects) |