diff options
| author | Jack Nagel | 2014-02-28 20:37:33 -0600 | 
|---|---|---|
| committer | Jack Nagel | 2014-02-28 20:41:44 -0600 | 
| commit | 02270c5edba84d7a6546e346b29343d4ab261db6 (patch) | |
| tree | 4ff20a0496ae9d31d23ebb252e942b2a9a97dddc | |
| parent | 000e9eecbadff93acfdc67499fb02e9e0a014365 (diff) | |
| download | brew-02270c5edba84d7a6546e346b29343d4ab261db6.tar.bz2 | |
Don't munge arguments when configure is run by make
Fixes Homebrew/homebrew-versions#364.
| -rwxr-xr-x | Library/ENV/4.3/cc | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 93f30ec4f..e89f176f0 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -73,10 +73,10 @@ class Cmd      end    end    def args -    args = if not cccfg? 'O' or tool == 'ld' -      @args.dup +    if !cccfg?("O") || tool == "ld" || configure? +      args = @args.dup      else -      refurbished_args +      args = refurbished_args      end      if tool != 'ld'        args << "--sysroot=#{sdkroot}"  | 
