diff options
Diffstat (limited to 'recipes-security/libseccomp/files/compiler.patch')
-rw-r--r-- | recipes-security/libseccomp/files/compiler.patch | 32 |
1 files changed, 32 insertions, 0 deletions
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 @@ | |||
1 | From fb3e84f6212333949ee3e410bb468bb06c289a1e Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrei Dinu <andrei.adrianx.dinu@intel.com> | ||
3 | Date: Fri, 28 Jun 2013 15:55:13 +0300 | ||
4 | Subject: [PATCH] libseccomp always used host compiler | ||
5 | |||
6 | passing $CC at do_install() doesn't seem to have | ||
7 | effect on the compiler used by libseccomp. Modified | ||
8 | the compiler manually. | ||
9 | |||
10 | Upstream Status: Inapropriate | ||
11 | |||
12 | Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> | ||
13 | --- | ||
14 | macros.mk | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/macros.mk b/macros.mk | ||
18 | index 9c62fa7..e219be6 100644 | ||
19 | --- a/macros.mk | ||
20 | +++ b/macros.mk | ||
21 | @@ -66,7 +66,7 @@ AWK ?= awk | ||
22 | PYTHON ?= /usr/bin/env python | ||
23 | |||
24 | # we require gcc specific functionality | ||
25 | -GCC ?= gcc | ||
26 | +GCC ?= $(CC) | ||
27 | |||
28 | INSTALL ?= install | ||
29 | |||
30 | -- | ||
31 | 1.7.9.5 | ||
32 | |||