summaryrefslogtreecommitdiffstats
path: root/memory/mozjemalloc
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-27 13:56:47 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-27 13:56:47 +0200
commit077c63084488ac38c1c44e8cdaa9c33086f0a649 (patch)
treec528abc8ae8570e66fecb123a9a1e821993f1f27 /memory/mozjemalloc
parentbe1786f7b0e692d8f4326dbf53e7d0689813ee2d (diff)
downloadUXP-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')
-rw-r--r--memory/mozjemalloc/moz.build19
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.