зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1420092 - Don't reject --enable-jemalloc on platforms where it's not the default. r=njn
The first step of making --enable-jemalloc the default everywhere is to at least allow to build with it everywhere. Which currently probably fails on a few platforms, but they're not going to be fixed if they're explicitly rejected at configure time. --HG-- extra : rebase_source : f29383e2d73986f3e5b033ac82c0d520bacd4fa6
This commit is contained in:
Родитель
dda2902840
Коммит
ebb5fb6002
|
@ -25,10 +25,6 @@ def jemalloc(value, target, c_compiler):
|
||||||
if target.kernel == 'WINNT' and c_compiler.type in ('msvc', 'clang-cl'):
|
if target.kernel == 'WINNT' and c_compiler.type in ('msvc', 'clang-cl'):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if value and target.kernel not in ('WINNT', 'Linux', 'Darwin', 'kFreeBSD',
|
|
||||||
'FreeBSD', 'NetBSD'):
|
|
||||||
die('--enable-jemalloc is not supported on %s', target.kernel)
|
|
||||||
|
|
||||||
|
|
||||||
set_config('MOZ_MEMORY', jemalloc)
|
set_config('MOZ_MEMORY', jemalloc)
|
||||||
set_define('MOZ_MEMORY', jemalloc)
|
set_define('MOZ_MEMORY', jemalloc)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче