meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio
Hongxu Jia 1614839cf1 python3-grpcio: fix native build failure on ubuntu 16.04 and centos 8
1. Keep '-std=c++11' and '-std=gnu99' to fix native build error
with old gcc (such as gcc 5.4.0 on ubuntu 16.04); for clang, remove
them through setting GRPC_PYTHON_CFLAGS at do_compile in bb recipe

2. While export CC="gcc ", cc_args is empty, it will
cause subprocess.Popen always return 1. On centos 8, if you don't
install package libatomic, there will be a native build error
`cannot find /usr/lib64/libatomic.so.1.2.0'.

Add no harm '-g' to cc_args if cc_args is empty.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-26 20:35:47 -07:00
..
0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch python3-grpcio: fix native build failure on ubuntu 16.04 and centos 8 2020-03-26 20:35:47 -07:00
ppc-boringssl-support.patch python3-grpcio: Upgrade to 1.27.1 2020-02-13 14:07:47 -08:00
riscv64_support.patch python3-grpcio: Upgrade to 1.27.1 2020-02-13 14:07:47 -08:00