paxctl: fix compile issue.
PATCH 1/1 paxctl: fix compile issue.
use CC from build not host.
this fixes the below error.
WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: /sbin/paxctl contained in package paxctl requires libc.so.6(GLIBC_2.3.4)(64bit), but no providers found in RDEPENDS_paxctl? [file-rdeps]
Signed-off-by Armin Kuster <[email protected]>
--- recipes-security/paxctl/paxctl_0.9.bb | 4 ++++ 1 file changed, 4 insertions(+)
recipes-security/paxctl/paxctl_0.9.bb +4 -0
@@ -12,6 +12,10 @@ SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz" SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64" SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e" +do_compile() { + oe_runmake 'CC=${CC}' +} + do_install() { oe_runmake 'DESTDIR=${D}' install }
Signature · 1 line
2.3.5
Armin
recipes-security/paxctl/paxctl_0.9.bb SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz" · line 18
Quoted 4 lines · Armin Kuster
recipes-security/paxctl/paxctl_0.9.bb +4
-0+do_compile() { + oe_runmake 'CC=${CC}' +} +
set EXTRA_OEMAKE = "CC='${CC}'"