From 71703add1748474487c7856514748950177d0f47 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Mon, 29 Mar 2021 01:42:38 +0100 Subject: [PATCH] shims/super/cc: don't refurbish ld.gold args This makes the behaviour consistent to regular BFD `ld`. --- Library/Homebrew/shims/super/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/shims/super/cc b/Library/Homebrew/shims/super/cc index 3ee05771f7..a54b2f9009 100755 --- a/Library/Homebrew/shims/super/cc +++ b/Library/Homebrew/shims/super/cc @@ -105,7 +105,7 @@ class Cmd return @args.dup end - args = if !refurbish_args? || tool == "ld" || configure? + args = if !refurbish_args? || mode == :ld || configure? @args.dup else refurbished_args