mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
Announcement: https://lists.gnu.org/archive/html/bug-make/2020-01/msg00057.html 1) Remove upstream provided patches 0001-glob-Do-not-assume-glibc-glob-internals.patch and 0002-glob-Do-not-assume-glibc-glob-internals.patch. 2) License has been changed to GPLv3 only 3) Important bug-fix is * https://lists.gnu.org/archive/html/bug-make/2018-09/msg00006.html 4) Backward-incompatibilities: * Number signs (#) appearing inside a macro reference or function invocation no longer introduce comments and should not be escaped with backslashes * Previously appending using '+=' to an empty variable would result in a value starting with a space. Now the initial space is only added if the variable already contains some value. Similarly, appending an empty string does not add a trailing space. Fix incompatibility issues between gnulib bundled with updated make fix issues in w32 compat sources. (From OE-Core rev: 4a5d4cf0cc8a4a6af76f23dd8a29627042230f98) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 8309601775d9442416329a77f7dcfd8aa799e9a6 Mon Sep 17 00:00:00 2001
|
|
From: Jens Rehsack <sno@netbsd.org>
|
|
Date: Fri, 21 Feb 2020 17:39:56 +0100
|
|
Subject: [PATCH 1/2] m4/getloadavg.m4: restrict AIX specific test on AIX
|
|
|
|
When cross compiling for a system without getloadavg, do not try add
|
|
additional linker paths unless it's absolutely necessary.
|
|
|
|
Signed-off-by: Jens Rehsack <sno@netbsd.org>
|
|
---
|
|
Upstream-Status: Pending
|
|
m4/getloadavg.m4 | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4
|
|
index 3bd2a14..696c5de 100644
|
|
--- a/m4/getloadavg.m4
|
|
+++ b/m4/getloadavg.m4
|
|
@@ -42,6 +42,8 @@ AC_CHECK_FUNC([getloadavg], [],
|
|
fi
|
|
|
|
if test $gl_func_getloadavg_done = no; then
|
|
+ AS_CASE([$host_os],
|
|
+ [aix*], [
|
|
# There is a commonly available library for RS/6000 AIX.
|
|
# Since it is not a standard part of AIX, it might be installed locally.
|
|
gl_getloadavg_LIBS=$LIBS
|
|
@@ -49,6 +51,7 @@ AC_CHECK_FUNC([getloadavg], [],
|
|
AC_CHECK_LIB([getloadavg], [getloadavg],
|
|
[LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes],
|
|
[LIBS=$gl_getloadavg_LIBS])
|
|
+ ], [:])
|
|
fi
|
|
|
|
# Set up the replacement function if necessary.
|
|
--
|
|
2.17.1
|
|
|