]> code.ossystems Code Review - openembedded-core.git/commit
wayland-native: disable unused macro checks to fix build issue on Centos5.x
authorTing Liu <b28495@freescale.com>
Fri, 28 Mar 2014 09:42:40 +0000 (17:42 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2014 22:36:20 +0000 (23:36 +0100)
commitf6d5343ccb97913a874b894fd7405abad59746eb
tree3392b5979e070add698c639d87866c930f299dc1
parent44c441222002ee0177100be0431adf91984e90d5
wayland-native: disable unused macro checks to fix build issue on Centos5.x

We only build wayland-native for the scanner, so disable the bits we
don't actually need. This avoid build issue on older distro such as
Centos 5.x:
| error: 'O_CLOEXEC' undeclared (first use in this function)
| error: sys/timerfd.h: No such file or directory
| error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
| error: 'TFD_CLOEXEC' undeclared (first use in this function)
| error: 'SFD_CLOEXEC' undeclared (first use in this function)

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/wayland/disable-macro-checks-not-used-for-scanner.patch [new file with mode: 0644]
meta/recipes-graphics/wayland/wayland_1.4.0.bb