aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-11-21 09:18:42 +0100
committerKoen Kooi <koen.kooi@linaro.org>2014-11-21 09:47:06 +0100
commit0b504659c74b9918c175ba79b5a28d8ee811a39f (patch)
treedbe493de7c47f6e1dba1aafe2518afd1cfa6847b
parent3fa80fd1cea80394d2217185d11481c23ddf0074 (diff)
downloadmeta-linaro-0b504659c74b9918c175ba79b5a28d8ee811a39f.tar.gz
openjdk: fix build failure14.11
Change-Id: Id0862afeed65a173ea4bb68959aa94ef48b80435 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rw-r--r--meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
index 30b98937..f251e14a 100644
--- a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
+++ b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
@@ -55,6 +55,7 @@ S="${WORKDIR}/openjdk8-aarch64-port-snapshot"
CFLAGS =+ "${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS}"
CXXFLAGS =+ "${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS}"
export EXTRA_CFLAGS = "${TOOLCHAIN_OPTIONS}"
+ASNEEDED = ""
do_configure() {
unset MAKE
@@ -66,7 +67,14 @@ do_compile() {
LOG=debug \
ALT_SDT_H=/openjdk/path/to/a/nonexistent/directory \
EXTRA_CFLAGS='${EXTRA_CFLAGS}' \
+ CC='${CC}' \
+ CXX='${CXX}' \
+ LD='${CC} ${LDFLAGS}' \
+ LDCXX='${CXX} ${LDFLAGS}' \
+ LDEXE='${CC} ${LDFLAGS}' \
+ LDEXECXX='${CXX} ${LDFLAGS}' \
images
+
}
do_install() {