[meta-virtualization] [PATCH 1/2] protobuf: Fix QA error for GNU_HASH

Bruce Ashfield bruce.ashfield at gmail.com
Fri Oct 21 08:42:34 PDT 2016


merged.

Bruce

On Wed, Oct 19, 2016 at 10:49 PM, <zhe.he at windriver.com> wrote:

> 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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20161021/7b092aa3/attachment.html>


More information about the meta-virtualization mailing list