From: tte_zheng_wenlong Date: Thu, 19 Jan 2017 05:28:14 +0000 (+0900) Subject: Fix "No GNU_HASH in the elf binary" erro X-Git-Tag: 3.99.1~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F8299%2F1;p=AGL%2Fmeta-agl-devel.git Fix "No GNU_HASH in the elf binary" erro Adding TARGET_CC_ARCH += "${LDFLAGS}" to the recipe. reference to Yocto Project Reference Manual 2.2. Change-Id: Iaef0f5152a2e509168a5c25eb2e3ab02f895504d Signed-off-by: tte_zheng_wenlong --- diff --git a/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb b/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb index 3f99cc15..2833c19d 100644 --- a/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb +++ b/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb @@ -36,6 +36,8 @@ FILES_${PN}-dev = "${exec_prefix}/include/mongoose.h" FILES_${PN}-doc = "${exec_prefix}/share/doc/*" +TARGET_CC_ARCH += "${LDFLAGS}" + do_compile() { if [ "${@bb.utils.contains('MONGOOSE_EXLIBS', 'libmongoose.so', 'def', '', d)}" = "def" ]; then