Force Darwin on ppc platforms to compile with a target level that supports aliasing.
authorTilghman Lesher <tilghman@meg.abyt.es>
Sun, 30 Aug 2009 22:10:35 +0000 (22:10 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sun, 30 Aug 2009 22:10:35 +0000 (22:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@214898 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 7d40208..0aa27e7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -305,7 +305,7 @@ MOD_SUBDIRS_MENUSELECT_TREE:=$(MOD_SUBDIRS:%=%-menuselect-tree)
 
 ifneq ($(findstring darwin,$(OSARCH)),)
   _ASTCFLAGS+=-D__Darwin__
-  SOLINK=-bundle -undefined suppress -force_flat_namespace
+  SOLINK=-bundle -Xlinker -macosx_version_min -Xlinker 10.4 -Xlinker -undefined -Xlinker dynamic_lookup -force_flat_namespace
 else
 # These are used for all but Darwin
   SOLINK=-shared