aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2013-09-29 14:24:55 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-09-29 21:52:23 +0200
commit7fce07f9fbdada8ba9c3d1bc65d5bcd9c7a8d1d8 (patch)
tree28ec153b3371a46edee6fa8600e63fb0245c4cb8
parentb7fe352e2cec76424b6c1017dbf84a28294ad9b7 (diff)
downloadmeta-java-7fce07f9fbdada8ba9c3d1bc65d5bcd9c7a8d1d8.tar.gz
meta-java-7fce07f9fbdada8ba9c3d1bc65d5bcd9c7a8d1d8.tar.bz2
meta-java-7fce07f9fbdada8ba9c3d1bc65d5bcd9c7a8d1d8.zip
jamvm-native: set default heap to 1024M via cflags
-rw-r--r--recipes-core/jamvm/jamvm.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc
index 991b413..da194f7 100644
--- a/recipes-core/jamvm/jamvm.inc
+++ b/recipes-core/jamvm/jamvm.inc
@@ -35,6 +35,9 @@ do_configure_append_virtclass-native() {
EXTRA_OECONF = "--with-classpath-install-dir=${prefix} --libdir=${libdir}/jamvm --enable-ffi"
+# Needed for big compilation targets like OpenJDK
+CFLAGS_append_virtclass-native = " -DDEFAULT_MAX_HEAP=1024*MB"
+
# Enforce usage of ecj-initial.
EXTRA_OEMAKE = "JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial \
GLIBJ_ZIP=${STAGING_DATADIR_NATIVE}/classpath/glibj.zip \