gnu-smalltalk: generational GC requires libsigsegv
In 64 bit, --without-libsigsegv implies --disable-generational-gc The build was failing for me, now at least it builds by disabling libsigsegv it seems to work (on small programs) Closes Homebrew/homebrew#17576. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
d3e02518b4
commit
332d54d2ca
1 changed files with 4 additions and 2 deletions
|
@ -43,8 +43,10 @@ class GnuSmalltalk < Formula
|
|||
args << '--without-tcl' << '--without-tk' << '--without-x'
|
||||
end
|
||||
|
||||
# disable generational gc in 32-bit
|
||||
args << "--disable-generational-gc" unless MacOS.prefer_64_bit?
|
||||
# disable generational gc in 32-bit and if libsigsegv is absent
|
||||
if !MacOS.prefer_64_bit? or build.without? "libsigsegv"
|
||||
args << "--disable-generational-gc"
|
||||
end
|
||||
|
||||
# Compatibility with Automake 1.13+, fixed upstream
|
||||
inreplace %w{configure.ac sigsegv/configure.ac},
|
||||
|
|
Loading…
Reference in a new issue