aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
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