summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-10-13 20:47:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-27 07:24:26 +0000
commit32c86250d5e7f7808fffc86af54cd8677d5e7796 (patch)
tree4b931bbd23293d97c1400b4929830045e8d5fb94 /meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch
parent20b7d876ed29327388ec035fcfcbaf67fac22c33 (diff)
downloadpoky-32c86250d5e7f7808fffc86af54cd8677d5e7796.tar.gz
coreutils: Do not use host paths in getloadavg.m4
helps configure QA pass when building for uclibc Change-Id: I42e9542829bc3678ee777d0a8768aecdf77eaead (From OE-Core rev: 0071c0e474f5f5f9418b31efbdb7b8fcd41b2daf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch')
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch b/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch
new file mode 100644
index 0000000000..c72efd4d30
--- /dev/null
+++ b/meta/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