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
commitb5aed44825f8d54bd5077ae0f41f48ea0a823a65 (patch)
tree37d3c0105ba4e191eb200e983aef41fed3652139 /Library
parentb6cca78e05098257744676369391579d4a83f923 (diff)
downloadbrew-b5aed44825f8d54bd5077ae0f41f48ea0a823a65.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