]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cmake-native: disable check for acl.h ChenQi/cmake-native-acl
authorChen Qi <Qi.Chen@windriver.com>
Mon, 5 Jan 2015 02:53:42 +0000 (10:53 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Mon, 5 Jan 2015 03:00:54 +0000 (11:00 +0800)
commite92ca9f3b22c791270d9320bd764b200ef4452b2
tree0f53613359cb0c07cda0e2c0dc5646d894d32f46
parent24f19fedb40d0af84beb8e9a6595ea06f09d4615
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>
meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb