diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/chicken.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/chicken.rb b/Library/Formula/chicken.rb index 303571e70..65561eb3b 100644 --- a/Library/Formula/chicken.rb +++ b/Library/Formula/chicken.rb @@ -6,11 +6,13 @@ class Chicken < Formula homepage 'http://www.call-cc.org/' head 'git://code.call-cc.org/chicken-core' - fails_with :llvm do - cause "Compilation hangs; see http://lists.gnu.org/archive/html/chicken-users/2010-12/msg00158.html" - end - def install + # see http://lists.gnu.org/archive/html/chicken-users/2010-12/msg00159.html + if [:clang, :llvm].include? ENV.compiler + ENV['DEBUGBUILD'] = "1" + opoo "Building with DEBUGBUILD to avoid Clang/LLVM issues" + end + ENV.deparallelize args = ["PREFIX=#{prefix}", "PLATFORM=macosx", "C_COMPILER=#{ENV.cc}"] # Chicken uses a non-standard var. for this args << "ARCH=x86-64" if MacOS.prefer_64_bit? |
