mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python-grpcio: only modify the compiler arguments on the target build
The modification of the compiler flags causes issues with the native builds of the package:
src/core/lib/surface/lame_client.cc: In function ‘grpc_channel* grpc_lame_client_channel_create(const char*, grpc_status_code, const char*)’:
src/core/lib/surface/lame_client.cc:178:3: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto chand = reinterpret_cast<grpc_core::ChannelData *>(elem->channel_data);
^
src/core/lib/surface/lame_client.cc:178:8: error: ‘chand’ does not name a type
auto chand = reinterpret_cast<grpc_core::ChannelData *>(elem->channel_data);
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
9faa0acba8
commit
b938015398
|
|
@ -4,8 +4,8 @@ SECTION = "devel/python"
|
|||
|
||||
DEPENDS = "python-protobuf"
|
||||
|
||||
SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \
|
||||
"
|
||||
SRC_URI_append_class-target = " file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch "
|
||||
|
||||
RDEPENDS_${PN} = "python-enum34 \
|
||||
python-futures \
|
||||
python-protobuf \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user