From c05b73f6161db1778532f3f1e529fa73aaaf0b1a Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Mon, 5 Jun 2017 15:22:28 +0900 Subject: [PATCH] profiles/f/p/s/legacy/profile.bashrc: disable utimensat syscall cmake based build system does not provide an interface to override compile checks, therefore this hack. --- profiles/features/prefix/standalone/legacy/profile.bashrc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 profiles/features/prefix/standalone/legacy/profile.bashrc diff --git a/profiles/features/prefix/standalone/legacy/profile.bashrc b/profiles/features/prefix/standalone/legacy/profile.bashrc new file mode 100644 index 000000000000..e537cc0fa319 --- /dev/null +++ b/profiles/features/prefix/standalone/legacy/profile.bashrc @@ -0,0 +1,6 @@ +# tricks to circumvent false positive checks of old kernel + +if [[ ${CATEGORY}/${PN} == dev-util/cmake && ${EBUILD_PHASE} == configure ]]; then + einfo "Removing utimensat outputs..." + sed -i '/UTIMENSAT=/d' ${S}/Source/kwsys/CMakeLists.txt +fi -- 2.26.2