summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-common.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-12-30 11:34:15 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2014-12-30 12:42:08 -0200
commitab51e51d9a9a51bedd19de09bcba4ce830dfc5e7 (patch)
tree2767c6504e0d600af45de3c3cee101621cfa2651 /recipes-core/openjdk/openjdk-common.inc
parent5a549b3516e1332a9b8cd4522a8c8163531eb1e9 (diff)
downloadmeta-java-ab51e51d9a9a51bedd19de09bcba4ce830dfc5e7.tar.gz
openjdk: Fix QEMU call to use sysroot for libraries
During the build, some utilities are ran using the QEMU however it wasn't using sysroot to load the Lib C and other base libraries. Pass the required options for QEMU to solve it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/openjdk/openjdk-common.inc')
-rw-r--r--recipes-core/openjdk/openjdk-common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/openjdk/openjdk-common.inc b/recipes-core/openjdk/openjdk-common.inc
index 349ce9e..97947b5 100644
--- a/recipes-core/openjdk/openjdk-common.inc
+++ b/recipes-core/openjdk/openjdk-common.inc
@@ -72,6 +72,6 @@ export WANT_LLVM_RELEASE = "2.8"
72export LLVM_CONFIGURE_ARCH="${@get_llvm_configure_arch(d)}" 72export LLVM_CONFIGURE_ARCH="${@get_llvm_configure_arch(d)}"
73 73
74# Large stack is required at least on x86_64 host, otherwise random segfaults appear: 74# Large stack is required at least on x86_64 host, otherwise random segfaults appear:
75QEMU = "${@qemu_target_binary(d)} ${QEMU_OPTIONS} -s 2097152" 75QEMU = "${@qemu_target_binary(d)} ${QEMU_OPTIONS} -s 2097152 -L ${STAGING_DIR_TARGET} -E LD_LIBRARY_PATH=${STAGING_BASELIBDIR}"
76 76
77EXTRA_OEMAKE += 'QEMU="${QEMU}"' 77EXTRA_OEMAKE += 'QEMU="${QEMU}"'