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>
This commit is contained in:
parent
ce6885e784
commit
1600658fcc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user