From acc7fd59a182effaa14b1b9ad572a03e542d619b Mon Sep 17 00:00:00 2001 From: Asaf Kahlon Date: Sun, 27 Oct 2019 22:30:27 +0200 Subject: [PATCH] package/uvw: disable CMake pthread test Fixes: - http://autobuild.buildroot.net/results/9c61c06142c832a9669afdcafcbb8b1f7df51082 Signed-off-by: Asaf Kahlon Signed-off-by: Thomas Petazzoni --- package/uvw/uvw.mk | 4 ++++ 1 file changed, 4 insertions(+) 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)) -- 2.30.2