summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls/gnutls/arm_eabi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls/arm_eabi.patch')
-rw-r--r--meta/recipes-support/gnutls/gnutls/arm_eabi.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/arm_eabi.patch b/meta/recipes-support/gnutls/gnutls/arm_eabi.patch
new file mode 100644
index 0000000000..34c8985c19
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls/arm_eabi.patch
@@ -0,0 +1,19 @@
1Certain syscall's are not availabe for arm-eabi, so we eliminate
2reference to them.
3
4Upstream-Status: Pending
5
6Signed-off-by: Joe Slater <jslater@windriver.com>
7
8--- a/tests/seccomp.c
9+++ b/tests/seccomp.c
10@@ -49,7 +49,9 @@ int disable_system_calls(void)
11 }
12
13 ADD_SYSCALL(nanosleep, 0);
14+#if ! defined(__ARM_EABI__)
15 ADD_SYSCALL(time, 0);
16+#endif
17 ADD_SYSCALL(getpid, 0);
18 ADD_SYSCALL(gettimeofday, 0);
19 #if defined(HAVE_CLOCK_GETTIME)