diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-02-15 01:04:45 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-02-17 12:21:26 -0800 |
commit | ce02a140a0214c6cace3de3e1f1e3ed943b0655a (patch) | |
tree | a1bcf1f5721aa2e0bef3fd9bba6aa75939d3297d /meta-python/recipes-devtools/python/python-protobuf.inc | |
parent | cb1b5130441b79473fde4083c07ac5d18dd28561 (diff) | |
download | meta-openembedded-ce02a140a0214c6cace3de3e1f1e3ed943b0655a.tar.gz |
python3-protobuf: add cpp implementation support
- Compiling with option `--cpp_implementation', add cpp implementation
support which requires to build with protobuf.
- Workaround native compile failure while host gcc <= 4.8
Setting environment KOKORO_BUILD_NUMBER, the build will explicitly compile
with option `-std=c++11', it could workaround native compile failure while
host gcc <= 4.8
...
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support is currently experimental, and must be enabled with the -std=c++11
or -std=gnu++11 compiler options
...
- Add Python 3.7 compatibility
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-protobuf.inc')
-rw-r--r-- | meta-python/recipes-devtools/python/python-protobuf.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc b/meta-python/recipes-devtools/python/python-protobuf.inc index 51037915d3..54eacc0b7e 100644 --- a/meta-python/recipes-devtools/python/python-protobuf.inc +++ b/meta-python/recipes-devtools/python/python-protobuf.inc | |||
@@ -29,3 +29,4 @@ RDEPENDS_${PN} += " \ | |||
29 | 29 | ||
30 | # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) | 30 | # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) |
31 | BBCLASSEXTEND = "native nativesdk" | 31 | BBCLASSEXTEND = "native nativesdk" |
32 | |||