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
This commit is contained in:
Martin Kosek 2013-12-13 15:20:40 +01:00
parent ccac000012
commit f9aad573b1

View File

@ -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