libcpprestsdk: require nptl threads.
PATCH v2 1/1 libcpprestsdk: require nptl threads.
pthread_condattr_setclock is uses which is NPTL only.
Fixes http://autobuild.buildroot.net/results/abf058948c9e4e9a50d42a05689b76bfb54a02e2/build-end.log
---
Changes v1 -> v2:
- Removed BR2_TOOLCHAIN_HAS_THREADS (Baruch)
- Removed NPTL threads from comment in favor of just NPTL (Baruch)
- Removed redundant threads from comment (Baruch)
package/libcpprestsdk/Config.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
package/libcpprestsdk/Config.in +5 -4
@@ -1,9 +1,9 @@ config BR2_PACKAGE_LIBCPPRESTSDK bool "libcpprestsdk" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS # boost depends on BR2_USE_WCHAR # boost depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_ATOMIC select BR2_PACKAGE_BOOST_CHRONO
@@ -22,9 +22,10 @@ config BR2_PACKAGE_LIBCPPRESTSDK https://github.com/Microsoft/cpprestsdk -comment "libcpprestsdk needs a toolchain w/ C++, wchar, threads" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_USE_WCHAR +comment "libcpprestsdk needs a toolchain w/ NPTL, C++, wchar" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_USE_WCHAR comment "libcpprestsdk needs exception_ptr" depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
Signature · 1 line
2.14.3
PATCH v2 1/1 libcpprestsdk: require nptl threads.
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Adam" == Adam Duskett <[email protected]> writes:
pthread_condattr_setclockis uses which is NPTL only.
Fixes http://autobuild.buildroot.net/results/abf058948c9e4e9a50d42a05689b76bfb54a02e2/build-end.logSigned-off-by Adam Duskett <[email protected]>---
Changes v1 -> v2:
- RemovedBR2_TOOLCHAIN_HAS_THREADS(Baruch)
- Removed NPTL threads from comment in favor of just NPTL (Baruch)
- Removed redundant threads from comment (Baruch)
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard