diff options
author | Sam James <sam@gentoo.org> | 2022-10-17 01:56:55 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-17 01:57:48 +0100 |
commit | 8db889827661b38cfbe74f335e095a4288a83ff7 (patch) | |
tree | 9a1afc1abb4d4bec3e5fa4ec64a555b688dcaf71 /sys-devel | |
parent | net-libs/gnutls: unmask verify-sig for 3.7.8; tighten sig dep (diff) | |
download | gentoo-8db889827661b38cfbe74f335e095a4288a83ff7.tar.gz gentoo-8db889827661b38cfbe74f335e095a4288a83ff7.tar.bz2 gentoo-8db889827661b38cfbe74f335e095a4288a83ff7.zip |
sys-devel/binutils: drop forced exec stack warnings for alt-arches
This keeps them on by default, but it doesn't override the build
system disabling them for MIPS and so on.
I've asked upstream about the unexpected/counterintuitive
behaviour: https://sourceware.org/bugzilla/show_bug.cgi?id=29592#c10.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29592
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/binutils/binutils-2.39-r4.ebuild (renamed from sys-devel/binutils/binutils-2.39-r3.ebuild) | 12 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-9999.ebuild | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sys-devel/binutils/binutils-2.39-r3.ebuild b/sys-devel/binutils/binutils-2.39-r4.ebuild index 27930510b19c..3ac03a449cb4 100644 --- a/sys-devel/binutils/binutils-2.39-r3.ebuild +++ b/sys-devel/binutils/binutils-2.39-r4.ebuild @@ -248,12 +248,12 @@ src_configure() { # Available from 2.35 on --enable-textrel-check=warning - # Available from 2.39 on - --enable-warn-execstack - --enable-warn-rwx-segments - # TODO: Available from 2.39+ on but let's try the warning on for a bit - # first... (--enable-warn-execstack) - # Could put it under USE=hardened? + # These hardening options are available from 2.39+ but + # they unconditionally enable the behaviour even on arches + # where e.g. execstacks can't be avoided. + # See https://sourceware.org/bugzilla/show_bug.cgi?id=29592. + #--enable-warn-execstack + #--enable-warn-rwx-segments #--disable-default-execstack (or is it --enable-default-execstack=no? docs are confusing) # Things to think about diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index c1e00302b97f..29f4e844ce60 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -249,12 +249,12 @@ src_configure() { # Available from 2.35 on --enable-textrel-check=warning - # Available from 2.39 on - --enable-warn-execstack - --enable-warn-rwx-segments - # TODO: Available from 2.39+ on but let's try the warning on for a bit - # first... (--enable-warn-execstack) - # Could put it under USE=hardened? + # These hardening options are available from 2.39+ but + # they unconditionally enable the behaviour even on arches + # where e.g. execstacks can't be avoided. + # See https://sourceware.org/bugzilla/show_bug.cgi?id=29592. + #--enable-warn-execstack + #--enable-warn-rwx-segments #--disable-default-execstack (or is it --enable-default-execstack=no? docs are confusing) # Things to think about |