1From 06605158852f9364519391fa11070ba5ec4303e9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Sep 2017 08:07:17 -0700
4Subject: [PATCH] disbale heap checkers and debug allocator on musl
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Pending
9
10---
11 configure.ac | 2 ++
12 1 file changed, 2 insertions(+)
13
14diff --git a/configure.ac b/configure.ac
15index 68fd51c..4cb71fe 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -53,6 +53,8 @@ case "$host" in
19              need_nanosleep=no;;
20    *-cygwin*) default_enable_cpu_profiler=no;;
21    *-linux*) default_enable_heap_checker=yes; heap_checker_supported=yes;;
22+   *-musl*) default_enable_heap_checker=no; default_enable_heap_profiler=no;
23+            default_enable_debugalloc=no; default_enable_libunwind=no;
24 esac
25
26 # Currently only backtrace works on s390 and OSX.
27