icecube / homebrew-icecube

IceCube-specific formulae

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gmp patch vs stock formula

nega0 opened this issue · comments

commented
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?
commented

meh. works for me