Cross Reference: thunderbird3-11-jemalloc-shared-library.diff
xref
: /
solaris-desktop
/
patches
/
thunderbird3-11-jemalloc-shared-library.diff
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
thunderbird3-11-jemalloc-shared-library.diff revision 16051
16051
N/A
diff --git
a/memory/jemalloc/Makefile.in
b/memory/jemalloc/Makefile.in
16051
N/A
---
a/memory/jemalloc/Makefile.in
16051
N/A
+++
b/memory/jemalloc/Makefile.in
16051
N/A
@@ -88,23 +88,25 @@ endif
16051
N/A
16051
N/A
else
16051
N/A
16051
N/A
MODULE_OPTIMIZE_FLAGS = -O2
16051
N/A
ifeq ($(OS_ARCH),SunOS)
16051
N/A
ifndef GNU_CC
16051
N/A
MODULE_OPTIMIZE_FLAGS = -xO5
16051
N/A
endif
16051
N/A
+OS_LDFLAGS += -z interpose
16051
N/A
endif
16051
N/A
16051
N/A
LIBRARY_NAME = jemalloc
16051
N/A
16051
N/A
# Build jemalloc as a shared lib. This is mandatory for Darwin, since a library
16051
N/A
# init function is used on that platform.
16051
N/A
-ifeq ($(OS_ARCH),Darwin)
16051
N/A
+# On Solaris, we want to have the ability to use LD_PRELOAD to override malloc.
16051
N/A
+ifneq (,$(filter Darwin SunOS,$(OS_ARCH)))
16051
N/A
FORCE_SHARED_LIB= 1
16051
N/A
else
16051
N/A
DIST_INSTALL = 1
16051
N/A
FORCE_STATIC_LIB= 1
16051
N/A
endif
16051
N/A
16051
N/A
CSRCS = \
16051
N/A
jemalloc.c
\
16051
N/A
diff --git
a/browser/installer/removed-files.in
b/browser/installer/removed-files.in
16051
N/A
---
a/browser/installer/removed-files.in
16051
N/A
+++
b/browser/installer/removed-files.in
16051
N/A
@@ -622,17 +622,19 @@
res/cursors/CVS/Tag
16051
N/A
res/cursors/CVS/Tag
16051
N/A
#endif
16051
N/A
#ifdef XP_UNIX
16051
N/A
#ifndef XP_MACOSX
16051
N/A
readme.txt
16051
N/A
chrome/icons/default/default.xpm
16051
N/A
dictionaries/PL.dic
16051
N/A
dictionaries/PL.aff
16051
N/A
+#ifndef SOLARIS
16051
N/A
libjemalloc.so
16051
N/A
+#endif
16051
N/A
#endif
16051
N/A
#endif
16051
N/A
#ifdef XP_WIN
16051
N/A
#ifdef MOZ_MEMORY
16051
N/A
Microsoft.VC80.CRT.manifest
16051
N/A
msvcm80.dll
16051
N/A
msvcp80.dll
16051
N/A
msvcr80.dll
16051
N/A
diff --git
a/browser/installer/unix/packages-static
b/browser/installer/unix/packages-static
16051
N/A
---
a/browser/installer/unix/packages-static
16051
N/A
+++
b/browser/installer/unix/packages-static
16051
N/A
@@ -49,16 +49,19 @@ bin/@MOZ_APP_NAME@
16051
N/A
bin/@MOZ_APP_NAME@
16051
N/A
bin/application.ini
16051
N/A
bin/platform.ini
16051
N/A
bin/mozilla-xremote-client
16051
N/A
bin/run-mozilla.sh
16051
N/A
bin/plugins/libnullplugin.so
16051
N/A
bin/libsqlite3.so
16051
N/A
bin/README.txt
16051
N/A
+#ifdef SOLARIS
16051
N/A
+
bin/libjemalloc.so
16051
N/A
+#endif
16051
N/A
bin/blocklist.xml
16051
N/A
16051
N/A
; [Components]
16051
N/A
bin/components/alerts.xpt
16051
N/A
bin/components/accessibility.xpt
16051
N/A
bin/components/appshell.xpt
16051
N/A
bin/components/appstartup.xpt
16051
N/A
bin/components/autocomplete.xpt