From f9aad573b14d5ac8af39787583497021c965978f Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Fri, 13 Dec 2013 15:20:40 +0100 Subject: Increase Java stack size on PPC platforms Wit the default stack size, rhino segfaulted on PPC platforms. https://bugzilla.redhat.com/show_bug.cgi?id=1040576 --- freeipa.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freeipa.spec.in b/freeipa.spec.in index b7c4b729..80df44da 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -320,6 +320,10 @@ This package contains tests that verify IPA functionality. %setup -n freeipa-%{version} -q %build +%ifarch ppc %{power64} +# UI compilation segfaulted on ppc platforms when stack was lower (#1040576) +export JAVA_STACK_SIZE="8m" +%endif export CFLAGS="%{optflags} $CFLAGS" export LDFLAGS="%{__global_ldflags} $LDFLAGS" %if 0%{?fedora} >= 19 -- cgit