From 8b05e4a7a96c7e62d4d8e98e2a1d0f32af4e3cca Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 9 Nov 2019 13:52:15 +0000 Subject: [PATCH] toolchain-binutils.eclass: add RESTRICT="!test? ( test )" Signed-off-by: Sergei Trofimovich --- eclass/toolchain-binutils.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 0b691d822762..303eeb4092fd 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -99,6 +99,9 @@ DEPEND="${RDEPEND} nls? ( sys-devel/gettext ) sys-devel/flex virtual/yacc" + +RESTRICT="!test? ( test )" + if is_cross ; then # The build assumes the host has libiberty and such when cross-compiling # its build tools. We should probably make binutils itself build a local -- 2.26.2