diff options
| author | Adam Vandenberg | 2011-04-14 09:39:18 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-14 10:27:09 -0700 |
| commit | 5eeb241345fcd479b2fd9a684e1875311e1e84ed (patch) | |
| tree | 343b5a4cf260e0518db062a26197cb941341e357 /Library/Formula | |
| parent | ecab1e9173583b17197ad774aa9c18533dafd134 (diff) | |
| download | homebrew-5eeb241345fcd479b2fd9a684e1875311e1e84ed.tar.bz2 | |
mkclean: fix builds in 64-bit mode
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mkclean.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/mkclean.rb b/Library/Formula/mkclean.rb index 5b6c42497..d33c72cb3 100644 --- a/Library/Formula/mkclean.rb +++ b/Library/Formula/mkclean.rb @@ -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 |
