From 347192e6aab661ceb66dfdeef2924a86a4d8c7b7 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 14 Feb 2019 14:55:30 -0800 Subject: Don't compile background thread support. We don't currently use this and it causes libc.a to have a dependency on libdl because it interposes pthread_create with dlsym. Test: treehugger Bug: None Change-Id: I259ed5eb8e72045430aee90df1124c1906512fcd --- include/jemalloc/internal/jemalloc_internal_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h b/include/jemalloc/internal/jemalloc_internal_defs.h index c76953ad..052bd11c 100644 --- a/include/jemalloc/internal/jemalloc_internal_defs.h +++ b/include/jemalloc/internal/jemalloc_internal_defs.h @@ -372,7 +372,7 @@ /* * If defined, all the features necessary for background threads are present. */ -#define JEMALLOC_BACKGROUND_THREAD 1 +/* #undef JEMALLOC_BACKGROUND_THREAD */ /* * If defined, jemalloc symbols are not exported (doesn't work when -- cgit v1.2.3