diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-14/0002-make-autoconf-toolchain-remove-invalid-compiler-chec.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-14/0002-make-autoconf-toolchain-remove-invalid-compiler-chec.patch | 45 |
1 files changed, 45 insertions, 0 deletions
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 @@ | |||
1 | From 93a94cd79b5657bc7954a23d6d3f9eda0addf773 Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Leitner <richard.leitner@skidata.com> | ||
3 | Date: Wed, 13 May 2020 13:41:49 +0200 | ||
4 | Subject: [PATCH 2/2] make: autoconf: toolchain: remove invalid compiler | ||
5 | checking | ||
6 | |||
7 | The checking of CC and CXX was faulty as it doesn't supported | ||
8 | program arguments. | ||
9 | To make things work remove the check and trust it is valid. | ||
10 | |||
11 | Upstream-Status: Inappropriate [configuration] | ||
12 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
13 | --- | ||
14 | make/autoconf/toolchain.m4 | 15 --------------- | ||
15 | 1 file changed, 15 deletions(-) | ||
16 | |||
17 | diff --git a/make/autoconf/toolchain.m4 b/make/autoconf/toolchain.m4 | ||
18 | index 341b2d1786..24f9f03948 100644 | ||
19 | --- a/make/autoconf/toolchain.m4 | ||
20 | +++ b/make/autoconf/toolchain.m4 | ||
21 | @@ -526,21 +526,6 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER], | ||
22 | if test "x[$]$1" != x; then | ||
23 | # User has supplied compiler name already, always let that override. | ||
24 | AC_MSG_NOTICE([Will use user supplied compiler $1=[$]$1]) | ||
25 | - if test "x`basename [$]$1`" = "x[$]$1"; then | ||
26 | - # A command without a complete path is provided, search $PATH. | ||
27 | - | ||
28 | - AC_PATH_PROGS(POTENTIAL_$1, [$]$1) | ||
29 | - if test "x$POTENTIAL_$1" != x; then | ||
30 | - $1=$POTENTIAL_$1 | ||
31 | - else | ||
32 | - AC_MSG_ERROR([User supplied compiler $1=[$]$1 could not be found]) | ||
33 | - fi | ||
34 | - else | ||
35 | - # Otherwise it might already be a complete path | ||
36 | - if test ! -x "[$]$1"; then | ||
37 | - AC_MSG_ERROR([User supplied compiler $1=[$]$1 does not exist]) | ||
38 | - fi | ||
39 | - fi | ||
40 | else | ||
41 | # No user supplied value. Locate compiler ourselves. | ||
42 | |||
43 | -- | ||
44 | 2.26.2 | ||
45 | |||