aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-08-17 17:34:51 -0500
committerJack Nagel2014-08-17 17:35:56 -0500
commitb4e27506a8c847b223a53f0013bc9f14e6fe80a4 (patch)
tree7c1330fa5198dac86fba0454620f9f8b90b7370d /Library
parent38bced0ac6dbeee258ea994739e724ac79783884 (diff)
downloadhomebrew-b4e27506a8c847b223a53f0013bc9f14e6fe80a4.tar.bz2
Do not close inherited file descriptors in compiler wrapper
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index d2b23a964..26468cdfa 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -335,5 +335,6 @@ if __FILE__ == $PROGRAM_NAME
LOGGER.puts "superenv executed: #{tool} #{args.join(" ")}"
LOGGER.log!
+ args << { :close_others => false } if RUBY_VERSION >= "2.0"
exec "xcrun", tool, *args
end