Any comments? Regards, Oleksiy
On 16.04.19 18:34, Oleksiy Obitotskyy wrote: > Tests require c++11 support, so add -std=c++11 > to compiler flags. > > Upstream-Status: Pending > Signed-off-by: Oleksiy Obitotskyy <[email protected]> > --- > meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb > b/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb > index cf72d9ca7..4791e13ca 100644 > --- a/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb > +++ b/meta-oe/recipes-devtools/protobuf/protobuf_3.6.1.bb > @@ -40,8 +40,8 @@ do_compile_ptest() { > # which haven't been installed yet. > cp "${B}/protobuf.pc" "${B}/${TEST_SRC_DIR}/protobuf.pc" > sed -e 's|libdir=|libdir=${PKG_CONFIG_SYSROOT_DIR}|' -i > "${B}/${TEST_SRC_DIR}/protobuf.pc" > - sed -e 's|Cflags:|Cflags: -I${S}/src|' -i > "${B}/${TEST_SRC_DIR}/protobuf.pc" > - sed -e 's|Libs:|Libs: -L${B}/src/.libs|' -i > "${B}/${TEST_SRC_DIR}/protobuf.pc" > + sed -e 's|Cflags:|Cflags: -std=c++11 -I${S}/src|' -i > "${B}/${TEST_SRC_DIR}/protobuf.pc" > + sed -e 's|Libs:|Libs: -std=c++11 -L${B}/src/.libs|' -i > "${B}/${TEST_SRC_DIR}/protobuf.pc" > export PKG_CONFIG_PATH="${B}/${TEST_SRC_DIR}" > > # Save the pkgcfg sysroot variable, and update it to nothing so -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
