aboutsummaryrefslogtreecommitdiff
path: root/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2019-12-06 14:25:49 -0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-12-08 15:39:57 +0100
commite0e54afd0cf7971ddca1904a08fe570084b2f305 (patch)
tree0be398e2abb10aad204ff501f6661d19dba260f2 /package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
parent56aef8f66b02821851e340e8122734ecbe392b8e (diff)
downloadbuildroot-e0e54afd0cf7971ddca1904a08fe570084b2f305.tar.gz
buildroot-e0e54afd0cf7971ddca1904a08fe570084b2f305.tar.bz2
package/grpc: bump to version 1.25.0
Other changes: - Remove upstream patch 0004-Fix-gettid-naming-conflict.patch - Remove upstream patch 0005-Rename-gettid-functions.patch - Add a check for BR2_TOOLCHAIN_GCC_AT_LEAST_5 in grpc.mk. If the selected toolchain is not at least version 5 or higher and the optimization level is -Os, set the GRPC_CFLAGS and GRPC_CXXFLAGS optimizations to -O2. This check prevents the following error: error: failure memory model cannot be stronger than success memory model for '__atomic_compare_exchange' Tested with test-pkg, all tests passed: br-arm-full [1/6]: OK br-arm-cortex-a9-glibc [2/6]: OK br-arm-cortex-m4-full [3/6]: SKIPPED br-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: SKIPPED Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch')
-rw-r--r--package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch b/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
index 14807999b8..86586d850b 100644
--- a/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
+++ b/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
@@ -20,7 +20,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
index 89e834b..c7bd2ad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -94,6 +94,12 @@ endif()
+@@ -97,6 +97,12 @@ endif()
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
@@ -30,14 +30,14 @@ index 89e834b..c7bd2ad 100644
+ add_definitions(-DHAVE_PTHREAD_SETNAME_NP)
+endif ()
+
- add_definitions(-DPB_FIELD_32BIT)
-
if (MSVC)
+ include(cmake/msvc_static_runtime.cmake)
+ add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS)
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
index 031c0c3..a29a9dc 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
-@@ -173,7 +173,9 @@
+@@ -181,7 +181,9 @@
#endif /* _LP64 */
#ifdef __GLIBC__
#define GPR_POSIX_CRASH_HANDLER 1