aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-03-11 16:55:21 -0500
committerJack Nagel2012-03-11 16:56:02 -0500
commitc2d515c56d6575bd1af47ca303646e7ecc616e9b (patch)
tree4389e9299ce4d686aa34ead151d2d35d95ed3ddf /Library
parent329fcee43b85cb60c7cdec4d6d6a668237e594ea (diff)
downloadhomebrew-c2d515c56d6575bd1af47ca303646e7ecc616e9b.tar.bz2
astyle: use the correct compiler
Fixes #10863. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/astyle.rb2
1 files changed, 1 insertions, 1 deletions
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