]> code.ossystems Code Review - openembedded-core.git/commit
ltp: Fix build on x86/musl
authorKhem Raj <raj.khem@gmail.com>
Tue, 22 Mar 2016 15:54:23 +0000 (15:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Mar 2016 21:44:26 +0000 (21:44 +0000)
commit04cbc4834076fef6b46af4c5c66046862de7634d
tree2d8e861353203cf8dca5a095d7b03fb597e9c53d
parentd14bc2667575bc0e29b9e90d80c01703639b76f1
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/ltp/ltp/0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
meta/recipes-extended/ltp/ltp/0033-shmat1-Cover-GNU-specific-code-under-__USE_GNU.patch [new file with mode: 0644]
meta/recipes-extended/ltp/ltp_20160126.bb