mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
r=waterson sr=cls
Adding a newer version of the libc malloc.c from the author. It is compiled switched in via --enable-lea.
This commit is contained in:
parent
098f279a10
commit
59870281dc
@ -79,6 +79,7 @@ BUILD_IDLC = @BUILD_IDLC@
|
||||
NEED_BASE_DLL_NAME_ALSO = @NEED_BASE_DLL_NAME_ALSO@
|
||||
MOZ_ENDER_LITE = @MOZ_ENDER_LITE@
|
||||
MOZ_LDAP_XPCOM = @MOZ_LDAP_XPCOM@
|
||||
XPCOM_USE_LEA = @XPCOM_USE_LEA@
|
||||
|
||||
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS = @MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS@
|
||||
MOZ_COMPONENT_NSPR_LIBS=@MOZ_COMPONENT_NSPR_LIBS@
|
||||
|
15
configure.in
15
configure.in
@ -3107,6 +3107,20 @@ MOZ_ARG_ENABLE_BOOL(crash-on-assert,
|
||||
Make NS_ASSERTION crash on Unix],
|
||||
AC_DEFINE(UNIX_CRASH_ON_ASSERT))
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
dnl = --enable-lea
|
||||
dnl =
|
||||
dnl = Enable Lea malloc in xpcom. OFF by default.
|
||||
dnl =
|
||||
dnl ========================================================
|
||||
|
||||
MOZ_ARG_ENABLE_BOOL(lea,
|
||||
[ --enable-lea Enable Lea malloc for Linux ],
|
||||
[ XPCOM_USE_LEA=1
|
||||
AC_DEFINE(XPCOM_USE_LEA)] )
|
||||
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
dnl = --enable-optimize
|
||||
@ -3835,6 +3849,7 @@ AC_SUBST(MOZ_INSURIFYING)
|
||||
AC_SUBST(MOZ_BUILD_XPFE)
|
||||
AC_SUBST(MOZ_LDAP_XPCOM)
|
||||
|
||||
AC_SUBST(XPCOM_USE_LEA)
|
||||
AC_SUBST(UNIX_CRASH_ON_ASSERT)
|
||||
AC_SUBST(NO_UNIX_ASYNC_DNS)
|
||||
AC_SUBST(NO_SHARED_LIB)
|
||||
|
Loading…
Reference in New Issue
Block a user