summaryrefslogtreecommitdiffstats
path: root/recipes-core/coreutils/coreutils-6.9/loadavg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/coreutils/coreutils-6.9/loadavg.patch')
-rw-r--r--recipes-core/coreutils/coreutils-6.9/loadavg.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-core/coreutils/coreutils-6.9/loadavg.patch b/recipes-core/coreutils/coreutils-6.9/loadavg.patch
new file mode 100644
index 0000000..c72efd4
--- /dev/null
+++ b/recipes-core/coreutils/coreutils-6.9/loadavg.patch
@@ -0,0 +1,18 @@
1Remove hardcoded paths so OE's configure QA does not detect it and fail the builds
2For cross compilation is less interesting to look into host paths for target libraries anyway
3
4Upstream-Status: Inappropriate [OE Specific]
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Index: coreutils-6.9/m4/getloadavg.m4
8===================================================================
9--- coreutils-6.9.orig/m4/getloadavg.m4
10+++ coreutils-6.9/m4/getloadavg.m4
11@@ -49,7 +49,6 @@ if test $gl_have_func = no; then
12 # There is a commonly available library for RS/6000 AIX.
13 # Since it is not a standard part of AIX, it might be installed locally.
14 gl_getloadavg_LIBS=$LIBS
15- LIBS="-L/usr/local/lib $LIBS"
16 AC_CHECK_LIB(getloadavg, getloadavg,
17 [LIBS="-lgetloadavg $LIBS"], [LIBS=$gl_getloadavg_LIBS])
18 fi