From: Benda Xu Date: Mon, 5 Jun 2017 06:22:28 +0000 (+0900) Subject: profiles/f/p/s/legacy/profile.bashrc: disable utimensat syscall X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c05b73f6161db1778532f3f1e529fa73aaaf0b1a;p=gentoo.git 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. --- 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