[PATCH 1/7] Remove -dynamic CFLAG on OSX

Mike Hommey mh+jemalloc at glandium.org
Mon Apr 16 07:30:20 PDT 2012


From: Mike Hommey <mh at glandium.org>

It is a linker flag, so it doesn't make sense in CFLAGS, and it's the
default when invoking the linker for shared libraries.
---
 Makefile.in |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 8828d7f..6479857 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,9 +21,6 @@ MANDIR := $(DESTDIR)@MANDIR@
 # Build parameters.
 CPPFLAGS := @CPPFLAGS@ -I at srcroot@include -I at objroot@include
 CFLAGS := @CFLAGS@
-ifeq (macho, @abi@)
-CFLAGS += -dynamic
-endif
 LDFLAGS := @LDFLAGS@
 LIBS := @LIBS@
 RPATH_EXTRA := @RPATH_EXTRA@
-- 
1.7.10




More information about the jemalloc-discuss mailing list