summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/cmake
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2015-01-05 11:04:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-07 23:35:12 +0000
commit02f010b99f86a74aa5ccbff431da1d6181c50bda (patch)
tree44b3e54e55dd1252d669e995b9af3ca0f9b48e0c /meta/recipes-devtools/cmake
parent9cfe52d36e874bba3f38c8cfc028864c212bbd7b (diff)
downloadpoky-02f010b99f86a74aa5ccbff431da1d6181c50bda.tar.gz
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. (From OE-Core rev: 3ad1701b0afe59af9d8427d53ffa4c0f52f42805) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake')
-rw-r--r--meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb b/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb
index cd6b1d8845..e40dfdd2d8 100644
--- a/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb
+++ b/meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb
@@ -15,4 +15,5 @@ SRC_URI[sha256sum] = "8c6574e9afabcb9fc66f463bb1f2f051958d86c85c37fccf067eb1a44a
15CMAKE_EXTRACONF = "\ 15CMAKE_EXTRACONF = "\
16 -DBUILD_CursesDialog=0 \ 16 -DBUILD_CursesDialog=0 \
17 -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \ 17 -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \
18 -DHAVE_SYS_ACL_H=0 \
18" 19"