mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
d55a579938
commit
b2f38526a1
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user