Remove -fno-common compiler flag for OS X.
Mike Hommey
mh+jemalloc at glandium.org
Thu May 3 05:12:49 PDT 2012
From: Mike Hommey <mh at glandium.org>
It doesn't allow the je_malloc_message and je_malloc_conf symbols to be
overridden when linking statically.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 3b32b88..ed7d55b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -239,7 +239,7 @@ dnl to make happen otherwise.
default_munmap="1"
case "${host}" in
*-*-darwin*)
- CFLAGS="$CFLAGS -fno-common"
+ CFLAGS="$CFLAGS"
abi="macho"
AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
RPATH=""
--
1.7.10
More information about the jemalloc-discuss
mailing list