diff options
author | Sam James <sam@gentoo.org> | 2023-01-27 06:26:30 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-27 06:26:30 +0000 |
commit | 5d1e75b4126ff6760ce5d2707591cd4ea7505edb (patch) | |
tree | 92b8391d95909a7ef40aa1a2c60308a7b6cdf9ea /sys-devel/binutils | |
parent | net-irc/ergo: Stabilize 2.11.1 amd64, #892155 (diff) | |
download | gentoo-5d1e75b4126ff6760ce5d2707591cd4ea7505edb.tar.gz gentoo-5d1e75b4126ff6760ce5d2707591cd4ea7505edb.tar.bz2 gentoo-5d1e75b4126ff6760ce5d2707591cd4ea7505edb.zip |
sys-devel/binutils: filter -mindirect-branch w/ CET
Incompatible with CET.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/binutils')
-rw-r--r-- | sys-devel/binutils/binutils-2.40.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-9999.ebuild | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/binutils/binutils-2.40.ebuild b/sys-devel/binutils/binutils-2.40.ebuild index 95fe27899736..0d5192d3560a 100644 --- a/sys-devel/binutils/binutils-2.40.ebuild +++ b/sys-devel/binutils/binutils-2.40.ebuild @@ -171,7 +171,7 @@ src_configure() { # Keep things sane strip-flags - + use cet && filter-flags -mindirect-branch -mindirect-branch=* use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 local x diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index eae71c276ce7..c8e0d5f94944 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -171,6 +171,8 @@ src_configure() { # Keep things sane strip-flags + use cet && filter-flags -mindirect-branch -mindirect-branch=* + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs # https://github.com/gentoo/gentoo/pull/28355 |