astyle: use the correct compiler

Fixes Homebrew/homebrew#10863.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Jack Nagel 2012-03-11 16:55:21 -05:00
parent a364b72b0d
commit 43c9b127a6
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Astyle < Formula
def install
cd 'src' do
system "make -f ../build/mac/Makefile"
system "make", "CXX=#{ENV.cxx}", "-f", "../build/mac/Makefile"
bin.install "bin/astyle"
end
end