summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-07-31 15:12:19 +0200
committerMartin Kosek <mkosek@redhat.com>2013-12-13 15:17:48 +0100
commitccac00001287b9bca11813bb262afc7702c7dce2 (patch)
tree403fc920571f8296ed2daa6465169e02b0e385d6 /Makefile
parent423bb38965ce361c3a4d373ddc03008842f110ac (diff)
downloadfreeipa-ccac00001287b9bca11813bb262afc7702c7dce2.tar.gz
freeipa-ccac00001287b9bca11813bb262afc7702c7dce2.tar.xz
freeipa-ccac00001287b9bca11813bb262afc7702c7dce2.zip
Increase stack size for Web UI builder
Web UI build fails on some architectures or configuration due to StackOverflow. This patch increases the stack size to solve it. 512k is usually enough but we encountered fail on ppc64 even with 2m, therefore the 8m. The build is single threaded so it shouldn't waste much memory.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a7226341e..e54f8f0ba 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,11 @@ PYTHON ?= $(shell rpm -E %__python || echo /usr/bin/python)
CFLAGS := -g -O2 -Werror -Wall -Wextra -Wformat-security -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers $(CFLAGS)
export CFLAGS
+# Uncomment to increase Java stack size for Web UI build in case it fails
+# because of stack overflow exception. Default should be OK for most platforms.
+#JAVA_STACK_SIZE ?= 8m
+#export JAVA_STACK_SIZE
+
all: bootstrap-autogen server tests
@for subdir in $(SUBDIRS); do \
(cd $$subdir && $(MAKE) $@) || exit 1; \