summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch
blob: ab3ceb964fc3e826c4ee5e9e477eef1da3c57728 (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
From 06605158852f9364519391fa11070ba5ec4303e9 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 2 Sep 2017 08:07:17 -0700
Subject: [PATCH] disbale heap checkers and debug allocator on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>

Upstream-Status: Pending

---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 70b49a3..8154c5c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,8 @@ case "$host" in
    *-cygwin*) default_enable_heap_checker=no; default_enable_cpu_profiler=no;;
    *-freebsd*) default_enable_heap_checker=no;;
    *-darwin*) default_enable_heap_checker=no;;
+   *-musl*) default_enable_heap_checker=no; default_enable_heap_profiler=no;
+            default_enable_debugalloc=no; default_enable_libunwind=no;
 esac
 
 # Currently only backtrace works on s390.
OpenPOWER on IntegriCloud