gmp patch vs stock formula
nega0 opened this issue · comments
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb
index 898e206..9928922 100644
--- a/Library/Formula/gmp.rb
+++ b/Library/Formula/gmp.rb
@@ -24,6 +24,9 @@ class Gmp < Formula
end
def install
+ ENV['CC'] = '/usr/bin/gcc'
+ ENV['LD'] = '/usr/bin/gcc'
+ ENV['CXX'] = '/usr/bin/g++'
args = ["--prefix=#{prefix}", "--enable-cxx"]
if build.build_32_bit?
meh. works for me