[Buildroot] [git commit] package/uvw: disable CMake pthread test
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Oct 27 20:32:28 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=acc7fd59a182effaa14b1b9ad572a03e542d619b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
- http://autobuild.buildroot.net/results/9c61c06142c832a9669afdcafcbb8b1f7df51082
Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
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))
More information about the buildroot
mailing list