summaryrefslogtreecommitdiff
path: root/packages/jamvm/jamvm-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/jamvm/jamvm-native.inc')
-rw-r--r--packages/jamvm/jamvm-native.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/jamvm/jamvm-native.inc b/packages/jamvm/jamvm-native.inc
index c3e4f84a60..ff2dba645b 100644
--- a/packages/jamvm/jamvm-native.inc
+++ b/packages/jamvm/jamvm-native.inc
@@ -10,6 +10,9 @@ RPROVIDES_jamvm = ""
# This uses 32 bit arm, so force the instruction set to arm, not thumb
ARM_INSTRUCTION_SET = "arm"
+# Needed for big compilation targets like OpenJDK
+CFLAGS += "-DDEFAULT_MAX_HEAP=2048*MB"
+
inherit native
S = "${WORKDIR}/jamvm-${PV}"