astyle: use the correct compiler
Fixes Homebrew/homebrew#10863. Signed-off-by: Jack Nagel <jacknagel@gmail.com>master
parent
a364b72b0d
commit
43c9b127a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue