diff --git a/memory/jemalloc/moz.build b/memory/jemalloc/moz.build index f9afee971f439..a4b7842554ec9 100644 --- a/memory/jemalloc/moz.build +++ b/memory/jemalloc/moz.build @@ -4,14 +4,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -# When built with --enable-debug, jemalloc3 makes headers define functions that -# are normally inlined, and that prevents unified sources from working. -if CONFIG['MOZ_DEBUG']: - maybe_unified_sources = SOURCES -else: - maybe_unified_sources = UNIFIED_SOURCES - -maybe_unified_sources += [ +UNIFIED_SOURCES += [ 'src/src/arena.c', 'src/src/atomic.c', 'src/src/base.c', @@ -46,7 +39,7 @@ SOURCES += [ # Only OSX needs the zone allocation implementation, # but only if replace-malloc is not enabled. if CONFIG['OS_TARGET'] == 'Darwin' and not CONFIG['MOZ_REPLACE_MALLOC']: - maybe_unified_sources += [ + UNIFIED_SOURCES += [ 'src/src/zone.c', ]