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