1bdefb6a42
bdw-gc fails with LLVM build 2335, but stklos shouldn't fail at all anymore since bdw-gc is now an explicit dependency instead of being built internally. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
19 lines
637 B
Ruby
19 lines
637 B
Ruby
require 'formula'
|
|
|
|
class BdwGc < Formula
|
|
url 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.1.tar.gz'
|
|
homepage 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/'
|
|
md5 '2ff9924c7249ef7f736ecfe6f08f3f9b'
|
|
|
|
fails_with_llvm "LLVM gives an unsupported inline asm error", :build => 2335
|
|
|
|
def install
|
|
# ucontext has been deprecated in 10.6
|
|
# use this flag to force the header to compile
|
|
ENV.append 'CPPFLAGS', "-D_XOPEN_SOURCE" if MacOS.snow_leopard?
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|