mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
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 : 0905861d5a2cc62f5b37c5ee811e56e1e063a133
This commit is contained in:
parent
9102f2075b
commit
a5ffa3c0c0
@ -25,10 +25,6 @@ def jemalloc(value, target, build_project, c_compiler):
|
||||
if target.kernel == 'WINNT' and c_compiler.type in ('msvc', 'clang-cl'):
|
||||
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_define('MOZ_MEMORY', jemalloc)
|
||||
|
Loading…
Reference in New Issue
Block a user