Signed-off-by: Ross Burton <ross.bur...@arm.com> --- .../0001-Use-cross-AR-during-compile.patch | 47 +++++++++---------- 1 file 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 @@ -From 207b94e37c84007b294e57878c913271aad544ef Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.k...@gmail.com> -Date: Wed, 11 Nov 2020 23:13:23 -0800 -Subject: [PATCH] Use cross AR during compile +Upstream-Status: Backport +Signed-off-by: Ross Burton <ross.bur...@arm.com> -If AR is specifcied then it should be used instead of defaulting to 'ar' -from host +From 47dce6a7002a8d7b818c19d574d81327b769871b Mon Sep 17 00:00:00 2001 +From: "Arnold D. Robbins" <arn...@skeeve.com> +Date: Fri, 5 Jun 2020 13:14:54 +0300 +Subject: Allow for cross-compile version of ar. -Upstream-Status: Pending -Signed-off-by: Khem Raj <raj.k...@gmail.com> --- - configure.ac | 7 +++++++ - 1 file changed, 7 insertions(+) + configure.ac | 3 +++ + 1 file changed, 3 insertions(+) + +(limited to 'configure.ac') diff --git a/configure.ac b/configure.ac -index 31364ab..4804f7b 100644 +index 31364ab8..8c256f21 100644 --- a/configure.ac +++ b/configure.ac -@@ -92,6 +92,13 @@ GAWK_CANONICAL_HOST - AC_USE_SYSTEM_EXTENSIONS +@@ -105,6 +105,9 @@ AC_EXEEXT + AC_PROG_INSTALL + AC_PROG_MAKE_SET - dnl checks for programs -+m4_ifndef([AC_PROG_AR],[dnl -+ AN_MAKEVAR([AR], [AC_PROG_AR]) -+ AN_PROGRAM([ar], [AC_PROG_AR]) -+ AC_DEFUN([AC_PROG_AR], -+ [AC_CHECK_TOOL(AR, ar, :)]) -+]) -+AC_PROG_AR - AC_PROG_EGREP - AC_PROG_YACC - AC_PROG_LN_S ++# support/ builds libsupport.a, allow for cross version of ar ++AM_PROG_AR ++ + # This is mainly for my use during testing and development. + # Yes, it's a bit of a hack. + AC_MSG_CHECKING([for special development options]) -- -2.29.2 - +cgit v1.2.1 -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#157110): https://lists.openembedded.org/g/openembedded-core/message/157110 Mute This Topic: https://lists.openembedded.org/mt/86437429/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-