Skip to contentSkip to conversation

pam-passwedqc: Obey exported LDFLAGS

PATCH New Adrian Dudau 1 participant 2 messages Sep 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 pam-passwedqc: Obey exported LDFLAGS

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

---
 meta-oe/recipes-support/pam-passwdqc/pam-passwdqc_1.0.5.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/pam-passwdqc/pam-passwdqc_1.0.5.bb +2 -0
index 4233ba4..cb9aa22 100644
@@ -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}
 }
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 pam-passwedqc: Obey exported LDFLAGS

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

---
 meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb +2 -0
index 37b5fef..6bd6118 100644
@@ -39,6 +39,8 @@ S = "${WORKDIR}/git"
 
 PV = "0.5.0+git${@'${SRCPV}'.split('+')[-1]}"
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 # The exact version of SYSTEMD does not matter but should be greater than 209.
 #
 EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
Signature · 1 line
1.9.1