commit:     14f256160bfd03db0cee8d250eca7e28578a7605
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  2 13:41:39 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Jul  2 20:57:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14f25616

profiles: Force sys-devel/binutils[cet] on amd64 to fix cross-compiling

gcc needs this flag enabled, and up till now, we've enforced this with
BDEPEND. However, this prevents other architectures from building gcc
for amd64 due to PMS limitations.

We may drop the flag eventually now that wider x86 support is being
backed out, but binutils currently still enables it.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 profiles/arch/amd64/package.use.force | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/profiles/arch/amd64/package.use.force 
b/profiles/arch/amd64/package.use.force
index 5c9f06cdb0c4..85659560a1e0 100644
--- a/profiles/arch/amd64/package.use.force
+++ b/profiles/arch/amd64/package.use.force
@@ -1,6 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# James Le Cuirot <ch...@gentoo.org> (2024-07-02)
+# Needed to build gcc. Force here rather than using BDEPEND to simplify
+# cross-compile scenarios.
+sys-devel/binutils cet
+
 # Michał Górny <mgo...@gentoo.org> (2023-10-06)
 # Require ABIs matching MULTILIB_ABIS in gcc dependencies -- otherwise
 # sys-devel/gcc[multilib] (which is forced) will fail late in build.

Reply via email to