[1/1] uvw: disable CMake pthread test
diff mbox series

Message ID 20191027203027.23297-1-asafka7@gmail.com
State Accepted
Headers show
Series
  • [1/1] uvw: disable CMake pthread test
Related show

Commit Message

Asaf Kahlon Oct. 27, 2019, 8:30 p.m. UTC
Fixes:
 - http://autobuild.buildroot.net/results/9c61c06142c832a9669afdcafcbb8b1f7df51082

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
 package/uvw/uvw.mk | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Thomas Petazzoni Oct. 27, 2019, 8:36 p.m. UTC | #1
On Sun, 27 Oct 2019 22:30:27 +0200
Asaf Kahlon <asafka7@gmail.com> wrote:

> Fixes:
>  - http://autobuild.buildroot.net/results/9c61c06142c832a9669afdcafcbb8b1f7df51082
> 
> Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
> ---
>  package/uvw/uvw.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Patch
diff mbox series

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))