[yocto] [meta-security][PATCH] paxctl: fix compile issue.
Armin Kuster
akuster808 at gmail.com
Sun Mar 27 11:03:19 PDT 2016
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 <akuster808 at gmail.com>
---
recipes-security/paxctl/paxctl_0.9.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/recipes-security/paxctl/paxctl_0.9.bb b/recipes-security/paxctl/paxctl_0.9.bb
index 8eadad1..67419ce 100644
--- a/recipes-security/paxctl/paxctl_0.9.bb
+++ b/recipes-security/paxctl/paxctl_0.9.bb
@@ -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
}
--
2.3.5
More information about the yocto
mailing list