From f66b83882e076f339dd89e88165bd7bac121f9ff Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Tue, 21 Apr 2020 13:00:22 +0200 Subject: openjdk-14: add 14.0.1 Add support for OpenJDK and OpenJRE v14.0.1. This version of OpenJDK is bootstrapped from a host-provided JDK. The host provided JDK is used to build openjdk-14-native. The native build is then used as build-jdk for the cross version. Signed-off-by: Richard Leitner --- ...nf-toolchain-remove-invalid-compiler-chec.patch | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 recipes-core/openjdk/patches-openjdk-14/0002-make-autoconf-toolchain-remove-invalid-compiler-chec.patch (limited to 'recipes-core/openjdk/patches-openjdk-14/0002-make-autoconf-toolchain-remove-invalid-compiler-chec.patch') diff --git a/recipes-core/openjdk/patches-openjdk-14/0002-make-autoconf-toolchain-remove-invalid-compiler-chec.patch b/recipes-core/openjdk/patches-openjdk-14/0002-make-autoconf-toolchain-remove-invalid-compiler-chec.patch new file mode 100644 index 0000000..9997e70 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-14/0002-make-autoconf-toolchain-remove-invalid-compiler-chec.patch @@ -0,0 +1,45 @@ +From 93a94cd79b5657bc7954a23d6d3f9eda0addf773 Mon Sep 17 00:00:00 2001 +From: Richard Leitner +Date: Wed, 13 May 2020 13:41:49 +0200 +Subject: [PATCH 2/2] make: autoconf: toolchain: remove invalid compiler + checking + +The checking of CC and CXX was faulty as it doesn't supported +program arguments. +To make things work remove the check and trust it is valid. + +Upstream-Status: Inappropriate [configuration] +Signed-off-by: Richard Leitner +--- + make/autoconf/toolchain.m4 | 15 --------------- + 1 file changed, 15 deletions(-) + +diff --git a/make/autoconf/toolchain.m4 b/make/autoconf/toolchain.m4 +index 341b2d1786..24f9f03948 100644 +--- a/make/autoconf/toolchain.m4 ++++ b/make/autoconf/toolchain.m4 +@@ -526,21 +526,6 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER], + if test "x[$]$1" != x; then + # User has supplied compiler name already, always let that override. + AC_MSG_NOTICE([Will use user supplied compiler $1=[$]$1]) +- if test "x`basename [$]$1`" = "x[$]$1"; then +- # A command without a complete path is provided, search $PATH. +- +- AC_PATH_PROGS(POTENTIAL_$1, [$]$1) +- if test "x$POTENTIAL_$1" != x; then +- $1=$POTENTIAL_$1 +- else +- AC_MSG_ERROR([User supplied compiler $1=[$]$1 could not be found]) +- fi +- else +- # Otherwise it might already be a complete path +- if test ! -x "[$]$1"; then +- AC_MSG_ERROR([User supplied compiler $1=[$]$1 does not exist]) +- fi +- fi + else + # No user supplied value. Locate compiler ourselves. + +-- +2.26.2 + -- cgit v1.2.3-54-g00ecf