blob: e3e857f0c262b1e587af3662daa443738d45d5eb [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 06605158852f9364519391fa11070ba5ec4303e9 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: 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>
Brad Bishop316dfdd2018-06-25 12:45:53 -04007
Brad Bishopd7bf8c12018-02-25 22:55:05 -05008Upstream-Status: Pending
9
Brad Bishop316dfdd2018-06-25 12:45:53 -040010---
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011 configure.ac | 2 ++
12 1 file changed, 2 insertions(+)
13
Brad Bishop316dfdd2018-06-25 12:45:53 -040014--- a/configure.ac
15+++ b/configure.ac
Andrew Geissler32b11992021-03-31 13:37:05 -050016@@ -53,6 +53,8 @@ case "$host" in
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017 *-cygwin*) default_enable_heap_checker=no; default_enable_cpu_profiler=no;;
18 *-freebsd*) default_enable_heap_checker=no;;
19 *-darwin*) default_enable_heap_checker=no;;
20+ *-musl*) default_enable_heap_checker=no; default_enable_heap_profiler=no;
21+ default_enable_debugalloc=no; default_enable_libunwind=no;
22 esac
23
Andrew Geissler32b11992021-03-31 13:37:05 -050024 # Currently only backtrace works on s390 and OSX.