From: Asaf Kahlon Date: Sun, 27 Oct 2019 20:30:27 +0000 (+0200) Subject: package/uvw: disable CMake pthread test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acc7fd59a182effaa14b1b9ad572a03e542d619b;p=buildroot.git package/uvw: disable CMake pthread test Fixes: - http://autobuild.buildroot.net/results/9c61c06142c832a9669afdcafcbb8b1f7df51082 Signed-off-by: Asaf Kahlon Signed-off-by: Thomas Petazzoni --- diff --git a/package/uvw/uvw.mk b/package/uvw/uvw.mk index 64122aea44..2e46721b52 100644 --- a/package/uvw/uvw.mk +++ b/package/uvw/uvw.mk @@ -13,4 +13,8 @@ UVW_DEPENDENCIES = libuv UVW_LICENSE = MIT UVW_LICENSE_FILES = LICENSE +# The following CMake variable disables a TRY_RUN call in the -pthread +# test which is not allowed when cross-compiling (for cmake < 3.10) +UVW_CONF_OPTS = -DTHREADS_PTHREAD_ARG=OFF + $(eval $(cmake-package))