Remove -fno-common compiler flag for OS X.

It doesn't allow the je_malloc_message and je_malloc_conf symbols to be
overridden when linking statically.
This commit is contained in:
Mike Hommey 2012-05-03 14:12:49 +02:00 committed by Jason Evans
parent 2e671ffbad
commit a6770a7049

View File

@ -239,7 +239,7 @@ dnl to make happen otherwise.
default_munmap="1" default_munmap="1"
case "${host}" in case "${host}" in
*-*-darwin*) *-*-darwin*)
CFLAGS="$CFLAGS -fno-common" CFLAGS="$CFLAGS"
abi="macho" abi="macho"
AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ]) AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])
RPATH="" RPATH=""