[oe-commits] [meta-openembedded] 05/05: grpc-native: Fix buld on ubuntu 14.04 with gcc 4.8

git at git.openembedded.org git at git.openembedded.org
Sat Sep 29 18:44:14 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 08ab868140cd2168e4baa394bf64ee14abc55e12
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Sep 29 02:02:53 2018 -0700

    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 at gmail.com>
---
 meta-networking/recipes-devtools/grpc/grpc_1.14.1.bb | 3 +++
 1 file changed, 3 insertions(+)

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 784e0d2..7b3f736 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} \
            "
 SRC_URI_append_class-target = " file://0001-CMakeLists.txt-Fix-grpc_cpp_plugin-path-during-cross.patch"
 
+# Fixes build with older compilers 4.8 especially on ubuntu 14.04
+CXXFLAGS_append_class-native = " -Wl,--no-as-needed"
+
 inherit cmake
 
 EXTRA_OECMAKE = " \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list