shims/super/cc: don't refurbish ld.gold args

This makes the behaviour consistent to regular BFD `ld`.
This commit is contained in:
Bo Anderson 2021-03-29 01:42:38 +01:00
parent 3bfa59bd2f
commit 71703add17
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -105,7 +105,7 @@ class Cmd
return @args.dup return @args.dup
end end
args = if !refurbish_args? || tool == "ld" || configure? args = if !refurbish_args? || mode == :ld || configure?
@args.dup @args.dup
else else
refurbished_args refurbished_args