From e99813240664884e736119956459d8b8250c3af7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 16 Aug 2013 20:47:41 -0500 Subject: [PATCH] This is a backreference, not an embedded NUL --- Library/Homebrew/extend/ENV.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index b571d7995e..41850fef8a 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