From f359c35ab250c09e858d88b8b1aa872bb7d2cddd Mon Sep 17 00:00:00 2001 From: Andrei Dinu Date: Mon, 1 Jul 2013 16:45:26 +0300 Subject: security layer updated work Signed-off-by: Andrei Dinu --- recipes-security/libseccomp/files/compiler.patch | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes-security/libseccomp/files/compiler.patch (limited to 'recipes-security/libseccomp/files/compiler.patch') diff --git a/recipes-security/libseccomp/files/compiler.patch b/recipes-security/libseccomp/files/compiler.patch new file mode 100644 index 0000000..c7f2fbb --- /dev/null +++ b/recipes-security/libseccomp/files/compiler.patch @@ -0,0 +1,32 @@ +From fb3e84f6212333949ee3e410bb468bb06c289a1e Mon Sep 17 00:00:00 2001 +From: Andrei Dinu +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 +--- + 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 + -- cgit v1.2.3-54-g00ecf