diff options
Diffstat (limited to 'meta/recipes-support/bdwgc/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch')
-rw-r--r-- | meta/recipes-support/bdwgc/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-support/bdwgc/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch b/meta/recipes-support/bdwgc/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch deleted file mode 100644 index 8ef774f0f2..0000000000 --- a/meta/recipes-support/bdwgc/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | configure.ac: add check for NO_GETCONTEXT definition | ||
2 | |||
3 | Signed-off-by: Samuel Martin <s.martin49@gmail.com> | ||
4 | [yann.morin.1998@free.fr: add a comment, change variable name, use | ||
5 | AS_IF, remove debug traces, use AC_CHECK_FUNCS (as suggested by | ||
6 | Thomas)] | ||
7 | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> | ||
8 | Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||
9 | |||
10 | --- | ||
11 | Upstream-Status: Pending | ||
12 | configure.ac | 6 ++++++ | ||
13 | 1 file changed, 6 insertions(+) | ||
14 | |||
15 | --- bdwgc-7.2f.orig/configure.ac 2014-06-01 19:00:47.000000000 +0200 | ||
16 | +++ bdwgc-7.2f/configure.ac 2014-12-23 14:13:11.585716713 +0100 | ||
17 | @@ -365,6 +365,12 @@ | ||
18 | AC_MSG_RESULT($ac_cv_fno_strict_aliasing) | ||
19 | fi | ||
20 | |||
21 | +# Check for getcontext (uClibc can be configured without it, for example) | ||
22 | +AC_CHECK_FUNCS([getcontext]) | ||
23 | +AS_IF([test "$ac_cv_func_getcontext" = "no"], | ||
24 | + [CFLAGS="$CFLAGS -DNO_GETCONTEXT" | ||
25 | + CPPFLAGS="$CPPFLAGS -DNO_GETCONTEXT"]) | ||
26 | + | ||
27 | case "$host" in | ||
28 | # While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64 | ||
29 | # and unnecessary everywhere. | ||