6176640e420b19c68cc84428362afff78f66e446
[AGL/meta-agl.git] / meta-agl-profile-core / recipes-devtools / valgrind / valgrind / 0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch
1 From b4b9f072c22f96844e02cb9d68f7ff2408680817 Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem@gmail.com>
3 Date: Sat, 10 Jun 2017 01:07:59 -0700
4 Subject: [PATCH 5/6] tc20_verifywrap.c: Fake __GLIBC_PREREQ with musl
5
6 similar to sun
7
8 Upstream-Status: Pending
9
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 ---
12  helgrind/tests/tc20_verifywrap.c | 2 +-
13  1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/helgrind/tests/tc20_verifywrap.c b/helgrind/tests/tc20_verifywrap.c
16 index c110000..a311a49 100644
17 --- a/helgrind/tests/tc20_verifywrap.c
18 +++ b/helgrind/tests/tc20_verifywrap.c
19 @@ -20,7 +20,7 @@
20  
21  #if !defined(__APPLE__)
22  
23 -#if defined(__sun__)
24 +#if defined(__sun__) || (defined(__linux__) && !defined(__GLIBC__))
25  /* Fake __GLIBC_PREREQ on Solaris. Pretend glibc >= 2.4. */
26  # define __GLIBC_PREREQ
27  #else
28 -- 
29 2.13.1
30