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=
This commit is contained in:
Harmen Stoppels 2025-03-17 18:35:23 +01:00 committed by GitHub
parent 5f4e12d8f2
commit 8029279dad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"])