aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorJack Nagel2013-08-16 20:47:41 -0500
committerJack Nagel2013-08-16 20:50:20 -0500
commitac5e02ccecb2ef0b7feb6acb141705b69fb126b1 (patch)
tree36944b6ae2bd41c37f245347fea2164e6dac8eb1 /Library/Homebrew/extend
parent7a0aa821829002fff04c2b6e4e88ef780ab78784 (diff)
downloadhomebrew-ac5e02ccecb2ef0b7feb6acb141705b69fb126b1.tar.bz2
This is a backreference, not an embedded NUL
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index b571d7995..41850fef8 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -298,7 +298,7 @@ module HomebrewEnvExtension
if compiler != :clang && Hardware.is_32_bit?
# Can't mix "-march" for a 32-bit CPU with "-arch x86_64"
- replace_in_cflags(/-march=\S*/, "-Xarch_#{Hardware::CPU.arch_32_bit} \0")
+ replace_in_cflags(/-march=\S*/, "-Xarch_#{Hardware::CPU.arch_32_bit} \\0")
end
end