summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2016-10-20 10:49:17 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2016-10-21 11:42:07 -0400
commitb2f38526a13b281830b8a00727d438ceeb88b665 (patch)
treecf9e743a48c762c7dab970e81212e152bb5f55db /recipes-devtools
parentd55a5799384ee0533e855bbec43704c1bd5e448f (diff)
downloadmeta-virtualization-b2f38526a13b281830b8a00727d438ceeb88b665.tar.gz
protobuf: Fix QA error for GNU_HASH
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@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/protobuf/protobuf_3.0.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/protobuf/protobuf_3.0.0.bb b/recipes-devtools/protobuf/protobuf_3.0.0.bb
index e1deeac8..0445ae4c 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() {
36 36
37do_compile_ptest() { 37do_compile_ptest() {
38 # Modify makefile to use the cross-compiler 38 # Modify makefile to use the cross-compiler
39 sed -e "s|c++|${CXX}|g" -i "${S}/${TEST_SRC_DIR}/Makefile" 39 sed -e "s|c++|${CXX} \$(LDFLAGS)|g" -i "${S}/${TEST_SRC_DIR}/Makefile"
40 40
41 mkdir -p "${B}/${TEST_SRC_DIR}" 41 mkdir -p "${B}/${TEST_SRC_DIR}"
42 42