diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-09-29 02:02:53 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-09-29 02:10:12 -0700 |
commit | 08ab868140cd2168e4baa394bf64ee14abc55e12 (patch) | |
tree | b698f2ec88d8742a3befb25fb3996f4bde0b467a /meta-networking/recipes-devtools/grpc | |
parent | 70a0692211a396a616507e660fa6dd8a14c16190 (diff) | |
download | meta-openembedded-08ab868140cd2168e4baa394bf64ee14abc55e12.tar.gz |
grpc-native: Fix buld on ubuntu 14.04 with gcc 4.8
Fixes a compiler error
terminate called after throwing an instance of 'std::system_error'
what(): Enable multithreading to use std::thread: Operation not
permitted
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-devtools/grpc')
-rw-r--r-- | meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb b/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb index 784e0d2b4..7b3f73657 100644 --- a/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb +++ b/meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb | |||
@@ -17,6 +17,9 @@ SRC_URI = "git://github.com/grpc/grpc.git;protocol=https;branch=${BRANCH} \ | |||
17 | " | 17 | " |
18 | SRC_URI_append_class-target = " file://0001-CMakeLists.txt-Fix-grpc_cpp_plugin-path-during-cross.patch" | 18 | SRC_URI_append_class-target = " file://0001-CMakeLists.txt-Fix-grpc_cpp_plugin-path-during-cross.patch" |
19 | 19 | ||
20 | # Fixes build with older compilers 4.8 especially on ubuntu 14.04 | ||
21 | CXXFLAGS_append_class-native = " -Wl,--no-as-needed" | ||
22 | |||
20 | inherit cmake | 23 | inherit cmake |
21 | 24 | ||
22 | EXTRA_OECMAKE = " \ | 25 | EXTRA_OECMAKE = " \ |