[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 5703ed6e41f90ca00ab12d93147bc3f2cee6fded
Author: Tom Ritter <tom@xxxxxxxxxxx>
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')
 
 
-@depends('--enable-jemalloc', target, c_compiler)
-def jemalloc(value, target, c_compiler):
+@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
 
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits