diff options
author | He Zhe <zhe.he@windriver.com> | 2016-10-20 10:49:17 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-10-21 11:42:07 -0400 |
commit | b2f38526a13b281830b8a00727d438ceeb88b665 (patch) | |
tree | cf9e743a48c762c7dab970e81212e152bb5f55db /recipes-devtools | |
parent | d55a5799384ee0533e855bbec43704c1bd5e448f (diff) | |
download | meta-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.bb | 2 |
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 | ||
37 | do_compile_ptest() { | 37 | do_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 | ||