[tbb-commits] [tor-browser/tor-browser-60.0.1esr-8.0-1] Bug 1420350 - Enable jemalloc on MinGW. r=glandium, a=jcristau

gk at torproject.org gk at torproject.org
Thu Jun 14 12:19:10 UTC 2018


commit 5703ed6e41f90ca00ab12d93147bc3f2cee6fded
Author: Tom Ritter <tom at mozilla.com>
Date:   Wed Mar 7 10:49:28 2018 -0600

    Bug 1420350 - Enable jemalloc on MinGW. r=glandium, a=jcristau
    
    MozReview-Commit-ID: 6YUeFAJocHj
    
    --HG--
    extra : source : 8d15ab11df3be633257f711341fde60da4d1e58d
---
 build/moz.configure/memory.configure | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/build/moz.configure/memory.configure b/build/moz.configure/memory.configure
index 2889819c988b..0e958a195e17 100644
--- a/build/moz.configure/memory.configure
+++ b/build/moz.configure/memory.configure
@@ -14,15 +14,12 @@ option('--enable-jemalloc', env='MOZ_MEMORY',
        help='Replace memory allocator with jemalloc')
 
 
- at depends('--enable-jemalloc', target, c_compiler)
-def jemalloc(value, target, c_compiler):
+ at depends('--enable-jemalloc', target)
+def jemalloc(value, target):
     if value.origin != 'default':
         return bool(value) or None
 
-    if target.kernel in ('Darwin', 'Linux'):
-        return True
-
-    if target.kernel == 'WINNT' and c_compiler.type in ('msvc', 'clang-cl'):
+    if target.kernel in ('Darwin', 'Linux', 'WINNT'):
         return True
 
 





More information about the tbb-commits mailing list