From: He Zhe <[email protected]> Add LDFLAGS to examples makefile to pass default ld flags.
"ERROR: protobuf-3.0.0-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '.../protobuf/3.0.0-r0/packages-split/protobuf-ptest/usr/ lib/protobuf/ptest/add_person_cpp'" Signed-off-by: He Zhe <[email protected]> --- recipes-devtools/protobuf/protobuf_3.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/protobuf/protobuf_3.0.0.bb b/recipes-devtools/protobuf/protobuf_3.0.0.bb index e1deeac..0445ae4 100644 --- a/recipes-devtools/protobuf/protobuf_3.0.0.bb +++ b/recipes-devtools/protobuf/protobuf_3.0.0.bb @@ -36,7 +36,7 @@ do_compile() { do_compile_ptest() { # Modify makefile to use the cross-compiler - sed -e "s|c++|${CXX}|g" -i "${S}/${TEST_SRC_DIR}/Makefile" + sed -e "s|c++|${CXX} \$(LDFLAGS)|g" -i "${S}/${TEST_SRC_DIR}/Makefile" mkdir -p "${B}/${TEST_SRC_DIR}" -- 2.8.3 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
