aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLibrary/ENV/4.3/cc6
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}"