binutils: conflict on configuration with build issues (#42949)

This commit is contained in:
Eric Berquist 2025-01-29 14:38:44 -07:00 committed by GitHub
parent 2da8a1d1e3
commit 5904834295
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -160,8 +160,11 @@ class Binutils(AutotoolsPackage, GNUMirrorPackage):
with when("platform=darwin"):
conflicts("+gold", msg="Binutils cannot build linkers on macOS")
# 2.41 doesn't seem to have any problems.
conflicts(
"libs=shared", when="@2.37:2.40", msg="https://github.com/spack/spack/issues/35817"
"libs=shared",
when="@2.37:2.40,2.42:",
msg="https://github.com/spack/spack/issues/35817",
)
conflicts(