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:
parent
5f4e12d8f2
commit
8029279dad
@ -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"])
|
||||
|
Loading…
Reference in New Issue
Block a user