[yocto] [meta-security][V2]PATCH] paxctl: fix compile issue.

Armin Kuster akuster808 at gmail.com
Sun Mar 27 16:25:59 PDT 2016


use CC from build not host.

thanks khem

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 <akuster808 at gmail.com>
---
 recipes-security/paxctl/paxctl_0.9.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-security/paxctl/paxctl_0.9.bb b/recipes-security/paxctl/paxctl_0.9.bb
index 8eadad1..b3405cd 100644
--- a/recipes-security/paxctl/paxctl_0.9.bb
+++ b/recipes-security/paxctl/paxctl_0.9.bb
@@ -12,6 +12,8 @@ SRC_URI = "http://pax.grsecurity.net/paxctl-${PV}.tar.gz"
 SRC_URI[md5sum] = "9bea59b1987dc4e16c2d22d745374e64"
 SRC_URI[sha256sum] = "a330ddd812688169802a3ba29e5e3b19956376b8f6f73b8d7e9586eb04423c2e"
 
+EXTRA_OEMAKE = "CC='${CC}'"
+
 do_install() {
 	oe_runmake 'DESTDIR=${D}' install
 }
-- 
2.3.5




More information about the yocto mailing list