summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2012-11-19 09:55:26 (GMT)
committerJason Evans <jasone@canonware.com>2012-11-25 18:23:40 (GMT)
commit9906660eb7365abb54e4495407ffddb1069ef654 (patch)
tree453bf3019c2e291a9f49f2c77b4ad138e66671db /INSTALL
parenta3b3386ddde8048b9d6b54c397bb93da5e806cef (diff)
downloadjemalloc-9906660eb7365abb54e4495407ffddb1069ef654.zip
jemalloc-9906660eb7365abb54e4495407ffddb1069ef654.tar.gz
jemalloc-9906660eb7365abb54e4495407ffddb1069ef654.tar.bz2
Allow to build without exporting symbols
When statically linking jemalloc, it may be beneficial not to export its symbols if it makes sense, which allows the compiler and the linker to do some further optimizations.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL5
1 files changed, 5 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index e40a7ed..7c2ed68 100644
--- a/INSTALL
+++ b/INSTALL
@@ -55,6 +55,11 @@ any of the following arguments (not a definitive list) to 'configure':
jemalloc overlays the default malloc zone, but makes no attempt to actually
replace the "malloc", "calloc", etc. symbols.
+--without-export
+ Don't export public APIs. This can be useful when building jemalloc as a
+ static library, or to avoid exporting public APIs when using the zone
+ allocator on OSX.
+
--with-private-namespace=<prefix>
Prefix all library-private APIs with <prefix>. For shared libraries,
symbol visibility mechanisms prevent these symbols from being exported, but