mkclean: fix builds in 64-bit mode

master
Adam Vandenberg 2011-04-14 09:39:18 -07:00
parent 7504b4ce93
commit 213f5461a1
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@ class Mkclean < Formula
def install
ENV.j1 # Otherwise there are races
# For 64-bit kernels, just use the Snow Leopard SDK.
inreplace "corec/tools/coremake/gcc_osx_x64.build" do |s|
s.gsub! /10\.4u?/, "10.6"
end
system "./configure"
system "make -C mkclean"
bindir = `corec/tools/coremake/system_output.sh`.chomp