mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-30 00:21:42 +00:00
security layer updated work
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From fb3e84f6212333949ee3e410bb468bb06c289a1e Mon Sep 17 00:00:00 2001
|
||||
From: Andrei Dinu <andrei.adrianx.dinu@intel.com>
|
||||
Date: Fri, 28 Jun 2013 15:55:13 +0300
|
||||
Subject: [PATCH] libseccomp always used host compiler
|
||||
|
||||
passing $CC at do_install() doesn't seem to have
|
||||
effect on the compiler used by libseccomp. Modified
|
||||
the compiler manually.
|
||||
|
||||
Upstream Status: Inapropriate
|
||||
|
||||
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
|
||||
---
|
||||
macros.mk | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/macros.mk b/macros.mk
|
||||
index 9c62fa7..e219be6 100644
|
||||
--- a/macros.mk
|
||||
+++ b/macros.mk
|
||||
@@ -66,7 +66,7 @@ AWK ?= awk
|
||||
PYTHON ?= /usr/bin/env python
|
||||
|
||||
# we require gcc specific functionality
|
||||
-GCC ?= gcc
|
||||
+GCC ?= $(CC)
|
||||
|
||||
INSTALL ?= install
|
||||
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "interface to seccomp filtering mechanism"
|
||||
DESCRIPTION = "The libseccomp library provides and easy to use, platform independent,interface to the Linux Kernel's syscall filtering mechanism: seccomp."
|
||||
SECTION = "security"
|
||||
LICENSE = "GPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||
|
||||
SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${PN}-${PV}.tar.gz \
|
||||
file://compiler.patch"
|
||||
|
||||
SRC_URI[md5sum] = "3961103c1234c13a810f6a12e60c797f"
|
||||
SRC_URI[sha256sum] = "b0d6e4f0984e6632a04f0cf33c6babdb011674ba15ff208e196f037e0e09905e"
|
||||
|
||||
do_configure() {
|
||||
${S}/configure --prefix=${prefix} --libdir=${libdir}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
}
|
||||
Reference in New Issue
Block a user