summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind/0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch
blob: 6176640e420b19c68cc84428362afff78f66e446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From b4b9f072c22f96844e02cb9d68f7ff2408680817 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 10 Jun 2017 01:07:59 -0700
Subject: [PATCH 5/6] tc20_verifywrap.c: Fake __GLIBC_PREREQ with musl

similar to sun

Upstream-Status: Pending

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 helgrind/tests/tc20_verifywrap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helgrind/tests/tc20_verifywrap.c b/helgrind/tests/tc20_verifywrap.c
index c110000..a311a49 100644
--- a/helgrind/tests/tc20_verifywrap.c
+++ b/helgrind/tests/tc20_verifywrap.c
@@ -20,7 +20,7 @@
 
 #if !defined(__APPLE__)
 
-#if defined(__sun__)
+#if defined(__sun__) || (defined(__linux__) && !defined(__GLIBC__))
 /* Fake __GLIBC_PREREQ on Solaris. Pretend glibc >= 2.4. */
 # define __GLIBC_PREREQ
 #else
-- 
2.13.1