Skip to content
Snippets Groups Projects
Commit 1600658f authored by Geoff Nixon's avatar Geoff Nixon Committed by Mike McQuaid
Browse files

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: default avatarMike McQuaid <mike@mikemcquaid.com>
parent ce6885e7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment