aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb
diff options
context:
space:
mode:
authortte_zheng_wenlong <wenlong_zheng_za@mail.toyota.co.jp>2017-01-19 14:28:14 +0900
committertte_zheng_wenlong <wenlong_zheng_za@mail.toyota.co.jp>2017-01-19 14:34:05 +0900
commitab11845564675010530eeca86fd26aaa566606d6 (patch)
treed82f6d7daf8cd5bf24096e782d0719e035c9cb7e /meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb
parent092ccd7f65025efc1da47ff25746be014c723556 (diff)
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 <wenlong_zheng_za@mail.toyota.co.jp>
Diffstat (limited to 'meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb')
-rw-r--r--meta-oem-extra-libs/recipes-support/mongoose/mongoose_6.6.bb2
1 files changed, 2 insertions, 0 deletions
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