diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/glibc.patch | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/glibc.patch b/meta/recipes-devtools/valgrind/valgrind/glibc.patch index 8b902ddbff..863499d69d 100644 --- a/meta/recipes-devtools/valgrind/valgrind/glibc.patch +++ b/meta/recipes-devtools/valgrind/valgrind/glibc.patch | |||
@@ -3,11 +3,11 @@ Backport of glibc 2.19 and 2.20 and 2.21 support. | |||
3 | Upstream-Status: Backport | 3 | Upstream-Status: Backport |
4 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 4 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
5 | 5 | ||
6 | diff --git a/configure.ac b/configure.ac | 6 | Index: valgrind-3.10.1/configure.ac |
7 | index 229ab98..1c18108 100644 | 7 | =================================================================== |
8 | --- a/configure.ac | 8 | --- valgrind-3.10.1.orig/configure.ac |
9 | +++ b/configure.ac | 9 | +++ valgrind-3.10.1/configure.ac |
10 | @@ -918,6 +918,27 @@ case "${GLIBC_VERSION}" in | 10 | @@ -1018,6 +1018,34 @@ case "${GLIBC_VERSION}" in |
11 | DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" | 11 | DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" |
12 | DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" | 12 | DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" |
13 | ;; | 13 | ;; |
@@ -32,6 +32,13 @@ index 229ab98..1c18108 100644 | |||
32 | + DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" | 32 | + DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" |
33 | + DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}" | 33 | + DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}" |
34 | + ;; | 34 | + ;; |
35 | + 2.22) | ||
36 | + AC_MSG_RESULT(2.22 family) | ||
37 | + AC_DEFINE([GLIBC_2_22], 1, [Define to 1 if you're using glibc 2.22.x]) | ||
38 | + DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}" | ||
39 | + DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" | ||
40 | + DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}" | ||
41 | + ;; | ||
35 | darwin) | 42 | darwin) |
36 | AC_MSG_RESULT(Darwin) | 43 | AC_MSG_RESULT(Darwin) |
37 | AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin]) | 44 | AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin]) |