From b159fbce0b8e02b376d5ccff407e87c8246a1311 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 28 Feb 2014 20:37:33 -0600 Subject: Don't munge arguments when configure is run by make Fixes Homebrew/homebrew-versions#364. --- Library/ENV/4.3/cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Library') 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}" -- cgit v1.2.3