diff options
| author | Damien Pollet | 2013-02-04 18:34:12 +0100 |
|---|---|---|
| committer | Jack Nagel | 2013-02-04 14:29:30 -0600 |
| commit | 3715bfec4da26b00441c688799b6bf94adb61235 (patch) | |
| tree | 64f9970b21c4af56036a95db74950955f6d39bf1 /Library/Formula | |
| parent | 9f9d22565d47d462dfac79816ec36498daab3945 (diff) | |
| download | homebrew-3715bfec4da26b00441c688799b6bf94adb61235.tar.bz2 | |
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 #17576.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gnu-smalltalk.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/gnu-smalltalk.rb b/Library/Formula/gnu-smalltalk.rb index 806a959e4..9c5368eb8 100644 --- a/Library/Formula/gnu-smalltalk.rb +++ b/Library/Formula/gnu-smalltalk.rb @@ -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}, |
