p7zip: respect compiler choice

master
Misty De Meo 2012-05-08 11:14:46 -05:00
parent 9aa691fe56
commit d2476d5286
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class P7zip < Formula
mv 'makefile.macosx_64bits', 'makefile.machine'
end
system "make all3"
system "make", "all3", "CC=#{ENV.cc} $(ALLFLAGS)", "CXX=#{ENV.cxx} $(ALLFLAGS)"
system "make", "DEST_HOME=#{prefix}", "DEST_MAN=#{man}", "install"
end
end