]> code.ossystems Code Review - openembedded-core.git/commit
cmake-native: disable check for acl.h
authorChen Qi <Qi.Chen@windriver.com>
Mon, 5 Jan 2015 03:04:07 +0000 (11:04 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Jan 2015 23:33:09 +0000 (23:33 +0000)
commit3ad1701b0afe59af9d8427d53ffa4c0f52f42805
treefa2b0d24d8b7dc99ec2db9eeb48713b9a4bb43f9
parentf6866391934588136f6cfa2c58fb8593875eb6fd
cmake-native: disable check for acl.h

We build cmake-native without acl support. However, the acl.h header
is still being checked which would sometimes cause the following error
during do_compile:

     archive_read_disk_entry_from_file.c:38:21: fatal error: sys/acl.h: No such file or directory
     |  #include <sys/acl.h>
     |                      ^
     | compilation terminated.

This happens when the sysroot parts of acl-native is removed between
do_configure and do_compile tasks of cmake-native.

To reproduce the problem manually, execute the following command:

bitbake cmake-native -c cleansstate && bitbake acl-native -c cleansstate && \
bitbake acl-native && bitbake cmake-native -c configure && \
bitbake acl-native -c cleansstate && bitbake cmake-native -c compile

This patch fixes the above problem by explicitly disable the checking for
acl.h header file.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb