aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oem-extra-libs/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oem-extra-libs/recipes-support')
-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