diff options
| author | Geoff Nixon | 2015-04-28 21:02:55 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2015-05-13 11:27:55 +0100 |
| commit | 1600658fcc6f08ef4e03de93b6a115e779a0d442 (patch) | |
| tree | 1457ee4af0c99c373a4e0277ef4ff33a852aaab1 /Library/Homebrew | |
| parent | ce6885e784bd12023a336a19765e9561067e1373 (diff) | |
| download | brew-1600658fcc6f08ef4e03de93b6a115e779a0d442.tar.bz2 | |
ghc: cleanup/decruft.
- Fix static GMP
- Remove --32-bit option (ghc 7.6 or newer is needed to build).
- Building with llvm-gcc and 7.6.3 works on Snow Leopard and Lion.
Closes Homebrew/homebrew#39134.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/language/haskell.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/language/haskell.rb b/Library/Homebrew/language/haskell.rb index 97eaaa087..e6dcabea1 100644 --- a/Library/Homebrew/language/haskell.rb +++ b/Library/Homebrew/language/haskell.rb @@ -10,6 +10,10 @@ module Language # avoid touching ~/.cabal home = ENV["HOME"] ENV["HOME"] = pwd + + # Use llvm-gcc on Lion or below (same compiler used when building GHC). + fails_with(:clang) if MacOS.version <= :lion + # use cabal's sandbox feature if available cabal_version = `cabal --version`[/[0-9.]+/].split('.').collect(&:to_i) if (cabal_version <=> [1, 20]) > -1 |
