package/apitrace: needs threads
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 17 Dec 2019 20:12:01 +0000 (21:12 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 22 Dec 2019 10:13:21 +0000 (11:13 +0100)
apitrace uses its own version of gtest which depends on threads since
version 8.0 and
https://github.com/apitrace/apitrace/commit/85cf7c8b86129699246574dfeec846e88a3f88a2

Moreover, apitrace also uses std::thread in lib/os/os_thread.hpp

Fixes:
 - http://autobuild.buildroot.org/results/03c4939fdfb7366c1835df946c4e869cd2b87b9f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/apitrace/Config.in

index 08313c48916ac8fd4c0c1604ed4005acd85563c5..116a86468133a6868442c9ae8f4f5ea2bd607d9c 100644 (file)
@@ -1,5 +1,6 @@
-comment "apitrace needs a toolchain w/ C++, wchar, gcc >= 4.9"
+comment "apitrace needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+               !BR2_TOOLCHAIN_HAS_THREADS || \
                !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 
 config BR2_PACKAGE_APITRACE
@@ -7,6 +8,7 @@ config BR2_PACKAGE_APITRACE
        depends on BR2_USE_WCHAR
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
        select BR2_PACKAGE_LIBPNG
        help