mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Issue #6610 - build on Intel Mac
(Wish I could try this at home :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
8
Makefile
8
Makefile
@@ -28,6 +28,7 @@ HOST_CC=gcc
|
||||
ifeq ($(CROSS_COMPILE),)
|
||||
OSARCH=$(shell uname -s)
|
||||
OSREV=$(shell uname -r)
|
||||
MARCH=$(shell uname -m)
|
||||
else
|
||||
OSARCH=$(CROSS_ARCH)
|
||||
OSREV=$(CROSS_REV)
|
||||
@@ -397,8 +398,11 @@ ifeq ($(OSARCH),Darwin)
|
||||
AUDIO_LIBS=-framework CoreAudio
|
||||
ASTLINK=-Wl,-dynamic
|
||||
SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
|
||||
OBJS+=poll.o
|
||||
ASTCFLAGS+=-DPOLLCOMPAT
|
||||
# Mac on Intel CoreDuo does not need poll compatibility layer
|
||||
ifneq ($(MARCH),i386)
|
||||
OBJS+=poll.o
|
||||
ASTCFLAGS+=-DPOLLCOMPAT
|
||||
endif
|
||||
else
|
||||
#These are used for all but Darwin
|
||||
ASTLINK=-Wl,-E
|
||||
|
Reference in New Issue
Block a user