diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-10-13 20:47:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-24 12:17:27 +0100 |
commit | 0071c0e474f5f5f9418b31efbdb7b8fcd41b2daf (patch) | |
tree | 3d11076e620b8ee246b1680642701812e2ed78f6 /meta/recipes-core | |
parent | 2ffcba096125b904d83508368cec56b6224fc2e1 (diff) | |
download | openembedded-core-0071c0e474f5f5f9418b31efbdb7b8fcd41b2daf.tar.gz openembedded-core-0071c0e474f5f5f9418b31efbdb7b8fcd41b2daf.tar.bz2 openembedded-core-0071c0e474f5f5f9418b31efbdb7b8fcd41b2daf.zip |
coreutils: Do not use host paths in getloadavg.m4
helps configure QA pass when building for uclibc
Change-Id: I42e9542829bc3678ee777d0a8768aecdf77eaead
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch | 18 | ||||
-rw-r--r-- | meta/recipes-core/coreutils/coreutils_6.9.bb | 1 |
2 files changed, 19 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 @@ +Remove hardcoded paths so OE's configure QA does not detect it and fail the builds +For cross compilation is less interesting to look into host paths for target libraries anyway + +Upstream-Status: Inappropriate [OE Specific] +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Index: coreutils-6.9/m4/getloadavg.m4 +=================================================================== +--- coreutils-6.9.orig/m4/getloadavg.m4 ++++ coreutils-6.9/m4/getloadavg.m4 +@@ -49,7 +49,6 @@ if test $gl_have_func = no; then + # 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 +- LIBS="-L/usr/local/lib $LIBS" + AC_CHECK_LIB(getloadavg, getloadavg, + [LIBS="-lgetloadavg $LIBS"], [LIBS=$gl_getloadavg_LIBS]) + fi diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb index 8d5b96db96..e9f82abc8b 100644 --- a/meta/recipes-core/coreutils/coreutils_6.9.bb +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb @@ -26,6 +26,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.bz2 \ file://coreutils-build-with-acl.patch \ file://coreutils-fix-texinfo.patch \ file://fix_for_manpage_building.patch \ + file://loadavg.patch \ " SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06" |