summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-12-13 15:20:40 +0100
committerMartin Kosek <mkosek@redhat.com>2013-12-13 15:22:55 +0100
commitf9aad573b14d5ac8af39787583497021c965978f (patch)
tree5c38994fef0400dc5162b99cfbc9e3ca8755b510
parentccac00001287b9bca11813bb262afc7702c7dce2 (diff)
downloadfreeipa-f9aad573b14d5ac8af39787583497021c965978f.tar.gz
freeipa-f9aad573b14d5ac8af39787583497021c965978f.tar.xz
freeipa-f9aad573b14d5ac8af39787583497021c965978f.zip
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
-rw-r--r--freeipa.spec.in4
1 files changed, 4 insertions, 0 deletions
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