[oe] [meta-oe][PATCH 1/2] pam-passwedqc: Obey exported LDFLAGS

Adrian Dudau adrian.dudau at enea.com
Tue Sep 27 08:00:55 UTC 2016


This avoids a "QA Issue: No GNU_HASH in the elf binary"

Signed-off-by: Adrian Dudau <adrian.dudau at enea.com>
---
 meta-oe/recipes-support/pam-passwdqc/pam-passwdqc_1.0.5.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/pam-passwdqc/pam-passwdqc_1.0.5.bb b/meta-oe/recipes-support/pam-passwdqc/pam-passwdqc_1.0.5.bb
index 4233ba4..cb9aa22 100644
--- a/meta-oe/recipes-support/pam-passwdqc/pam-passwdqc_1.0.5.bb
+++ b/meta-oe/recipes-support/pam-passwdqc/pam-passwdqc_1.0.5.bb
@@ -27,6 +27,8 @@ EXTRA_OEMAKE = "CFLAGS="${CFLAGS} -Wall -fPIC -DHAVE_SHADOW" \
     SECUREDIR=${base_libdir}/security \
 "
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_install() {
     oe_runmake install DESTDIR=${D}
 }
-- 
1.9.1




More information about the Openembedded-devel mailing list