aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp_20160126.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-03-22 15:54:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-25 10:29:16 +0000
commit4aa08b897628ef43adc9c3aa86bdf32499c328c1 (patch)
treed284df1f9d1fac9fdaff77282c09e4584c8e0388 /meta/recipes-extended/ltp/ltp_20160126.bb
parent959b7f204ea009fcf4ff0de30522ecf17cb64488 (diff)
downloadopenembedded-core-contrib-4aa08b897628ef43adc9c3aa86bdf32499c328c1.tar.gz
ltp: Fix build on x86/musl
In last patch it covered out the non-glibc case well but did not define else case, when __GLIBC__ is not defined, as a result errors like | getcpu01.c:107:41: error: use of undeclared identifier 'sys_support' | if (((tst_kvercmp(2, 6, 20)) < 0) || !(sys_support)) { appeared, fixed it with this updated patch (From OE-Core rev: 04cbc4834076fef6b46af4c5c66046862de7634d) 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-extended/ltp/ltp_20160126.bb')
-rw-r--r--meta/recipes-extended/ltp/ltp_20160126.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20160126.bb b/meta/recipes-extended/ltp/ltp_20160126.bb
index ac1679382d..720a569ae5 100644
--- a/meta/recipes-extended/ltp/ltp_20160126.bb
+++ b/meta/recipes-extended/ltp/ltp_20160126.bb
@@ -59,7 +59,8 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \
file://0030-lib-Use-PTHREAD_MUTEX_RECURSIVE-in-place-of-PTHREAD_.patch \
file://0031-vma03-fix-page-size-offset-as-per-page-size-alignmen.patch \
file://0032-regen.sh-Include-asm-unistd.h-explicitly.patch \
-"
+ file://0033-shmat1-Cover-GNU-specific-code-under-__USE_GNU.patch \
+ "
S = "${WORKDIR}/git"