From 7e49e74abd2d4d9a8f0df3746404b50987ef0e28 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Sat, 17 Apr 2021 01:16:08 +0200 Subject: [PATCH] Depend on binutils with ld and plugins in GCC (#22989) --- var/spack/repos/builtin/packages/gcc/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index 09bb1ec1b5..4314b70a5b 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -126,7 +126,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage): depends_on('diffutils', type='build') depends_on('iconv', when='platform=darwin') depends_on('gnat', when='languages=ada') - depends_on('binutils~libiberty', when='+binutils', type=('build', 'link', 'run')) + depends_on('binutils+ld+plugins~libiberty', when='+binutils', type=('build', 'link', 'run')) depends_on('zip', type='build', when='languages=java') depends_on('cuda@:10', when='+nvptx')