From 8029279dad316f1e55a87d3a55b0045fe178bed9 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Mon, 17 Mar 2025 18:35:23 +0100 Subject: [PATCH] gcc: drop redundant --with-ld and --with-as configure flags (#49538) it's redundant due to our spec file which adds -B, and it breaks -fuse-ld= --- var/spack/repos/builtin/packages/gcc/package.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py index f220d8f5f3d..b5767c60538 100644 --- a/var/spack/repos/builtin/packages/gcc/package.py +++ b/var/spack/repos/builtin/packages/gcc/package.py @@ -826,18 +826,6 @@ def configure_args(self): if spec.satisfies("languages=jit"): options.append("--enable-host-shared") - # Binutils - if spec.satisfies("+binutils"): - binutils = spec["binutils"].prefix.bin - options.extend( - [ - "--with-gnu-ld", - "--with-ld=" + binutils.ld, - "--with-gnu-as", - "--with-as=" + binutils.join("as"), - ] - ) - # enable_bootstrap if spec.satisfies("+bootstrap"): options.extend(["--enable-bootstrap"])