From c2d515c56d6575bd1af47ca303646e7ecc616e9b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 11 Mar 2012 16:55:21 -0500 Subject: astyle: use the correct compiler Fixes #10863. Signed-off-by: Jack Nagel --- Library/Formula/astyle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/astyle.rb b/Library/Formula/astyle.rb index 05f0fcbed..acbcc24de 100644 --- a/Library/Formula/astyle.rb +++ b/Library/Formula/astyle.rb @@ -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 -- cgit v1.2.3