mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 12:15:51 +00:00
b32a4ed166
--HG-- extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
16 lines
626 B
Makefile
16 lines
626 B
Makefile
# 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/.
|
|
|
|
SHARED_LIBRARY_LIBS = $(call EXPAND_LIBNAME_PATH,jemalloc,$(DEPTH)/memory/jemalloc)
|
|
DEFINES += -DMOZ_JEMALLOC3 -DMOZ_REPLACE_JEMALLOC
|
|
LOCAL_INCLUDES += -I../../jemalloc/src/include
|
|
ifdef _MSC_VER
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/memory/jemalloc/src/include/msvc_compat
|
|
endif
|
|
|
|
VPATH += $(topsrcdir)/memory/build
|
|
|
|
MOZ_GLUE_LDFLAGS = # Don't link against mozglue
|
|
WRAP_LDFLAGS = # Never wrap malloc function calls with -Wl,--wrap
|