diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-27 13:56:47 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-27 13:56:47 +0200 |
commit | 077c63084488ac38c1c44e8cdaa9c33086f0a649 (patch) | |
tree | c528abc8ae8570e66fecb123a9a1e821993f1f27 /memory/mozjemalloc/moz.build | |
parent | be1786f7b0e692d8f4326dbf53e7d0689813ee2d (diff) | |
download | UXP-077c63084488ac38c1c44e8cdaa9c33086f0a649.tar UXP-077c63084488ac38c1c44e8cdaa9c33086f0a649.tar.gz UXP-077c63084488ac38c1c44e8cdaa9c33086f0a649.tar.lz UXP-077c63084488ac38c1c44e8cdaa9c33086f0a649.tar.xz UXP-077c63084488ac38c1c44e8cdaa9c33086f0a649.zip |
Remove support for making jemalloc4 the default memory allocator.
Diffstat (limited to 'memory/mozjemalloc/moz.build')
-rw-r--r-- | memory/mozjemalloc/moz.build | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/memory/mozjemalloc/moz.build b/memory/mozjemalloc/moz.build index 0660d1300..feeb4fb07 100644 --- a/memory/mozjemalloc/moz.build +++ b/memory/mozjemalloc/moz.build @@ -8,16 +8,15 @@ EXPORTS += [ 'jemalloc_types.h', ] -if not CONFIG['MOZ_JEMALLOC4']: - SOURCES += [ - 'jemalloc.c', - ] - FINAL_LIBRARY = 'memory' - - # See bug 422055. - if CONFIG['OS_ARCH'] == 'SunOS' and not CONFIG['GNU_CC'] \ - and CONFIG['MOZ_OPTIMIZE']: - CFLAGS += ['-xO5'] +SOURCES += [ + 'jemalloc.c', +] +FINAL_LIBRARY = 'memory' + +# See bug 422055. +if CONFIG['OS_ARCH'] == 'SunOS' and not CONFIG['GNU_CC'] \ + and CONFIG['MOZ_OPTIMIZE']: + CFLAGS += ['-xO5'] # For non release/esr builds, enable (some) fatal jemalloc assertions. This # helps us catch memory errors. |