diff options
author | Ross Burton <ross@burtonini.com> | 2021-10-19 12:35:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 17:42:27 +0100 |
commit | 52f2c3413c4e609bedb854c1d128af990de79685 (patch) | |
tree | c0d00dbd9a291c51f9c882352e84c6eefb751b0c /meta | |
parent | 1037d5b2b03b4067aa30060cb5ed5e121ef685b6 (diff) | |
download | poky-52f2c3413c4e609bedb854c1d128af990de79685.tar.gz |
gawk: replace AR patch with upstreamed patch
(From OE-Core rev: 18da900ec1b4a9bac2c205145ec2282c52543fd2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch | 47 |
1 files changed, 21 insertions, 26 deletions
diff --git a/meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch b/meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch index ca0d668ce9..be6dbe1e57 100644 --- a/meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch +++ b/meta/recipes-extended/gawk/gawk/0001-Use-cross-AR-during-compile.patch | |||
@@ -1,35 +1,30 @@ | |||
1 | From 207b94e37c84007b294e57878c913271aad544ef Mon Sep 17 00:00:00 2001 | 1 | Upstream-Status: Backport |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
3 | Date: Wed, 11 Nov 2020 23:13:23 -0800 | ||
4 | Subject: [PATCH] Use cross AR during compile | ||
5 | 3 | ||
6 | If AR is specifcied then it should be used instead of defaulting to 'ar' | 4 | From 47dce6a7002a8d7b818c19d574d81327b769871b Mon Sep 17 00:00:00 2001 |
7 | from host | 5 | From: "Arnold D. Robbins" <arnold@skeeve.com> |
6 | Date: Fri, 5 Jun 2020 13:14:54 +0300 | ||
7 | Subject: Allow for cross-compile version of ar. | ||
8 | 8 | ||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | 9 | --- |
12 | configure.ac | 7 +++++++ | 10 | configure.ac | 3 +++ |
13 | 1 file changed, 7 insertions(+) | 11 | 1 file changed, 3 insertions(+) |
12 | |||
13 | (limited to 'configure.ac') | ||
14 | 14 | ||
15 | diff --git a/configure.ac b/configure.ac | 15 | diff --git a/configure.ac b/configure.ac |
16 | index 31364ab..4804f7b 100644 | 16 | index 31364ab8..8c256f21 100644 |
17 | --- a/configure.ac | 17 | --- a/configure.ac |
18 | +++ b/configure.ac | 18 | +++ b/configure.ac |
19 | @@ -92,6 +92,13 @@ GAWK_CANONICAL_HOST | 19 | @@ -105,6 +105,9 @@ AC_EXEEXT |
20 | AC_USE_SYSTEM_EXTENSIONS | 20 | AC_PROG_INSTALL |
21 | AC_PROG_MAKE_SET | ||
21 | 22 | ||
22 | dnl checks for programs | 23 | +# support/ builds libsupport.a, allow for cross version of ar |
23 | +m4_ifndef([AC_PROG_AR],[dnl | 24 | +AM_PROG_AR |
24 | + AN_MAKEVAR([AR], [AC_PROG_AR]) | 25 | + |
25 | + AN_PROGRAM([ar], [AC_PROG_AR]) | 26 | # This is mainly for my use during testing and development. |
26 | + AC_DEFUN([AC_PROG_AR], | 27 | # Yes, it's a bit of a hack. |
27 | + [AC_CHECK_TOOL(AR, ar, :)]) | 28 | AC_MSG_CHECKING([for special development options]) |
28 | +]) | ||
29 | +AC_PROG_AR | ||
30 | AC_PROG_EGREP | ||
31 | AC_PROG_YACC | ||
32 | AC_PROG_LN_S | ||
33 | -- | 29 | -- |
34 | 2.29.2 | 30 | cgit v1.2.1 |
35 | |||