trilinos: Limit application of "-fuse-ld=gold" for %cce builds (#34875)
This commit is contained in:
parent
74595de359
commit
71a609b2f4
@ -468,7 +468,7 @@ def flag_handler(self, name, flags):
|
||||
if "+wrapper" in spec:
|
||||
flags.append("--expt-extended-lambda")
|
||||
elif name == "ldflags":
|
||||
if is_cce:
|
||||
if spec.satisfies("%cce@:14"):
|
||||
flags.append("-fuse-ld=gold")
|
||||
if spec.satisfies("platform=linux ~cuda"):
|
||||
# TriBITS explicitly links libraries against all transitive
|
||||
|
Loading…
Reference in New Issue
Block a user