mirror of
https://git.yoctoproject.org/poky
synced 2026-07-25 10:17:46 +02:00
Whilst this is an alpha release, it makes sense for us to stay close to upstream. We can drop a lot of merged patches which is great to see. During testing, one bug showed up, particularly on mip64 due to an issue with FILECMD being changed to use AC_CHECK_PROG incorredly. A patch has been added for that and sent upstream. (From OE-Core rev: d572297c5810fb248af633014eac96f8ea0a739e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
[PATCH] libtool.m4: Fix AC_CHECK_PROG usage
|
|
|
|
In commit:
|
|
|
|
https://git.savannah.gnu.org/cgit/libtool.git/commit/m4/libtool.m4?id=64bef5ba65f6820cd5f88e5249324b4f5955ee25
|
|
|
|
AC_CHECK_TOOL was changed to AC_CHECK_PROG however the arguments are
|
|
different and this result is a value of ":". Change this to match the
|
|
original intent.
|
|
|
|
The lack of FILECMD was causing failures for mips64 builds as -m elf was
|
|
being passed to LD which isn't supported on our targets.
|
|
|
|
Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2024-06/msg00000.html]
|
|
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
Index: libtool-2.5.0/m4/libtool.m4
|
|
===================================================================
|
|
--- libtool-2.5.0.orig/m4/libtool.m4
|
|
+++ libtool-2.5.0/m4/libtool.m4
|
|
@@ -8216,7 +8216,7 @@ AC_SUBST([DLLTOOL])
|
|
# ----------------
|
|
# Check for a file(cmd) program that can be used to detect file type and magic
|
|
m4_defun([_LT_DECL_FILECMD],
|
|
-[AC_CHECK_PROG([FILECMD], [file], [:])
|
|
+[AC_CHECK_PROG([FILECMD], [file], [file], [:])
|
|
_LT_DECL([], [FILECMD], [1], [A file(cmd) program that detects file types])
|
|
])# _LD_DECL_FILECMD
|
|
|