diff options
author | Sam James <sam@gentoo.org> | 2022-01-07 00:42:36 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-07 00:42:36 +0000 |
commit | ac1a83da759184984512e1becf8eb9cbc129c157 (patch) | |
tree | b6c68d755488cdc218e93ecb54bff70d87a20240 /sys-devel | |
parent | sys-devel/gcc: CET support needs glibc[cet] if enabled (diff) | |
download | gentoo-ac1a83da759184984512e1becf8eb9cbc129c157.tar.gz gentoo-ac1a83da759184984512e1becf8eb9cbc129c157.tar.bz2 gentoo-ac1a83da759184984512e1becf8eb9cbc129c157.zip |
sys-devel/gcc: tweak/simplify *DEPEND
Bug: https://bugs.gentoo.org/830454
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/gcc-11.2.1_p20211127.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-11.2.1_pre9999.ebuild | 3 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-12.0.0_pre9999.ebuild | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys-devel/gcc/gcc-11.2.1_p20211127.ebuild b/sys-devel/gcc/gcc-11.2.1_p20211127.ebuild index 1f30179859b2..cf332f7e6ce2 100644 --- a/sys-devel/gcc/gcc-11.2.1_p20211127.ebuild +++ b/sys-devel/gcc/gcc-11.2.1_p20211127.ebuild @@ -15,7 +15,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~ # Technically only if USE=hardened *too* right now, but no point in complicating it further. # If GCC is enabling CET by default, we need glibc to be built with support for it. # bug #830454 -RDEPEND="elibc_glibc? ( cet? ( sys-libs/glibc[cet(-)] ) )" +RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" +DEPEND="${RDEPEND}" BDEPEND="${CATEGORY}/binutils[cet(-)?]" src_prepare() { diff --git a/sys-devel/gcc/gcc-11.2.1_pre9999.ebuild b/sys-devel/gcc/gcc-11.2.1_pre9999.ebuild index 9e33ba672b19..b17d87e21b4f 100644 --- a/sys-devel/gcc/gcc-11.2.1_pre9999.ebuild +++ b/sys-devel/gcc/gcc-11.2.1_pre9999.ebuild @@ -15,7 +15,8 @@ inherit toolchain # Technically only if USE=hardened *too* right now, but no point in complicating it further. # If GCC is enabling CET by default, we need glibc to be built with support for it. # bug #830454 -RDEPEND="elibc_glibc? ( cet? ( sys-libs/glibc[cet(-)] ) )" +RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" +DEPEND="${RDEPEND}" BDEPEND="${CATEGORY}/binutils[cet(-)?]" src_prepare() { diff --git a/sys-devel/gcc/gcc-12.0.0_pre9999.ebuild b/sys-devel/gcc/gcc-12.0.0_pre9999.ebuild index d652a650041e..3571c4605330 100644 --- a/sys-devel/gcc/gcc-12.0.0_pre9999.ebuild +++ b/sys-devel/gcc/gcc-12.0.0_pre9999.ebuild @@ -17,7 +17,8 @@ inherit toolchain # Technically only if USE=hardened *too* right now, but no point in complicating it further. # If GCC is enabling CET by default, we need glibc to be built with support for it. # bug #830454 -RDEPEND="elibc_glibc? ( cet? ( sys-libs/glibc[cet(-)] ) )" +RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" +DEPEND="${RDEPEND}" BDEPEND="${CATEGORY}/binutils[cet(-)?]" src_prepare() { |