2014-10-24 08:08:01 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# 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/.
|
|
|
|
|
|
|
|
ifeq (Darwin_1,$(OS_TARGET)_$(MOZ_REPLACE_MALLOC))
|
|
|
|
OS_LDFLAGS += \
|
|
|
|
-Wl,-U,_replace_init \
|
2014-11-19 03:46:47 +03:00
|
|
|
-Wl,-U,_replace_get_bridge \
|
2014-10-24 08:08:01 +04:00
|
|
|
-Wl,-U,_replace_malloc \
|
|
|
|
-Wl,-U,_replace_posix_memalign \
|
|
|
|
-Wl,-U,_replace_aligned_alloc \
|
|
|
|
-Wl,-U,_replace_calloc \
|
|
|
|
-Wl,-U,_replace_realloc \
|
|
|
|
-Wl,-U,_replace_free \
|
|
|
|
-Wl,-U,_replace_memalign \
|
|
|
|
-Wl,-U,_replace_valloc \
|
|
|
|
-Wl,-U,_replace_malloc_usable_size \
|
|
|
|
-Wl,-U,_replace_malloc_good_size \
|
|
|
|
-Wl,-U,_replace_jemalloc_stats \
|
|
|
|
-Wl,-U,_replace_jemalloc_purge_freed_pages \
|
|
|
|
-Wl,-U,_replace_jemalloc_free_dirty_pages \
|
2017-05-10 15:31:51 +03:00
|
|
|
-Wl,-U,_replace_jemalloc_thread_local_arena \
|
2017-09-01 04:52:23 +03:00
|
|
|
-Wl,-U,_replace_jemalloc_ptr_info \
|
2014-10-24 08:08:01 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2015-06-10 03:00:34 +03:00
|
|
|
EXTRA_DEPS += $(topsrcdir)/mozglue/build/replace_malloc.mk
|
2014-10-24 08:08:01 +04:00
|
|
|
endif
|