[meta-virtualization] [PATCH 1/2] protobuf: Fix QA error for GNU_HASH
zhe.he at windriver.com
zhe.he at windriver.com
Wed Oct 19 19:49:17 PDT 2016
From: He Zhe <zhe.he at windriver.com>
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 <zhe.he at windriver.com>
---
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
More information about the meta-virtualization
mailing list