diff options
| author | Jack Nagel | 2014-02-28 20:37:33 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-02-28 20:41:44 -0600 |
| commit | b159fbce0b8e02b376d5ccff407e87c8246a1311 (patch) | |
| tree | 4c24344a09e115ae6febebbd5dad96644053098b | |
| parent | 338d60bbeff05db38a07dfa1918d30477d66336c (diff) | |
| download | homebrew-b159fbce0b8e02b376d5ccff407e87c8246a1311.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}" |
