Skip to contentSkip to conversation

uvw: disable CMake pthread test

PATCH New Asaf Kahlon 2 participants 2 messages Oct 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uvw: disable CMake pthread test

Fixes:
- http://autobuild.buildroot.net/results/9c61c06142c832a9669afdcafcbb8b1f7df51082

---
 package/uvw/uvw.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/uvw/uvw.mk +4 -0
index 64122aea44..2e46721b52 100644
@@ -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))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 uvw: disable CMake pthread test

Quoted 7 lines · On Sun, 27 Oct 2019 22:30:27 +0200 Asaf Kahlon <[email protected]> wrote:

Fixes:
- http://autobuild.buildroot.net/results/9c61c06142c832a9669afdcafcbb8b1f7df51082

---
 package/uvw/uvw.mk | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com