sys-devel/gcc: tweak/simplify *DEPEND

Bug: https://bugs.gentoo.org/830454
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-01-07 00:42:36 +00:00
parent a0c6762824
commit ac1a83da75
3 changed files with 6 additions and 3 deletions

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -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() {