diff options
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf/program_prefix.patch')
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf/program_prefix.patch | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch b/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch index 978a401f0a..4ff535fc15 100644 --- a/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch +++ b/meta/recipes-devtools/autoconf/autoconf/program_prefix.patch | |||
@@ -1,20 +1,26 @@ | |||
1 | Upstream-Status: Pending | 1 | From f4f19a5c03e8ae3b9cc93d24b76694f4b7b2eb76 Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | ||
3 | Date: Thu, 12 Mar 2020 17:28:38 +0000 | ||
4 | Subject: [PATCH 3/7] program_prefix.patch | ||
2 | 5 | ||
3 | # | 6 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
4 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | 7 | --- |
5 | # | 8 | lib/autoconf/general.m4 | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
6 | 10 | ||
7 | --- autoconf-2.57/lib/autoconf/general.m4~program_prefix | 11 | diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 |
8 | +++ autoconf-2.57/lib/autoconf/general.m4 | 12 | index 16f0d074..4c5e0b36 100644 |
9 | @@ -1676,8 +1676,9 @@ | 13 | --- a/lib/autoconf/general.m4 |
14 | +++ b/lib/autoconf/general.m4 | ||
15 | @@ -2070,7 +2070,7 @@ _AC_CANONICAL_SPLIT([target]) | ||
16 | |||
10 | # The aliases save the names the user supplied, while $host etc. | 17 | # The aliases save the names the user supplied, while $host etc. |
11 | # will get canonicalized. | 18 | # will get canonicalized. |
12 | test -n "$target_alias" && | 19 | -test -n "$target_alias" && |
13 | - test "$program_prefix$program_suffix$program_transform_name" = \ | 20 | +test -n "$target_alias" && test "$target_alias" != "$host_alias" && |
14 | - NONENONEs,x,x, && | 21 | test "$program_prefix$program_suffix$program_transform_name" = \ |
15 | + test "$target_alias" != "$host_alias" && | 22 | NONENONEs,x,x, && |
16 | + test "$program_prefix$program_suffix$program_transform_name" = \ | ||
17 | + NONENONEs,x,x, && | ||
18 | program_prefix=${target_alias}-[]dnl | 23 | program_prefix=${target_alias}-[]dnl |
19 | ])# AC_CANONICAL_TARGET | 24 | -- |
20 | 25 | 2.25.1 | |
26 | |||