diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 19:20:24 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 19:20:24 +0000 |
commit | 2f8e7d0e35e687679f5e999218a65b2304901ffd (patch) | |
tree | 926bc02cf4b0be557186916c97b6cf7e48d01d5b /main/Makefile | |
parent | f0a2f5b1cfc039da96842bdfa999d45ed3822b6b (diff) |
it appears that current Mac OS/X does not need the poll compatibility module at all, and platforms that do need it also need -DPOLLCOMPAT (or they wouldn't have compiled at all)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43207 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/Makefile')
-rw-r--r-- | main/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/main/Makefile b/main/Makefile index 037a10a45..c1b397803 100644 --- a/main/Makefile +++ b/main/Makefile @@ -39,6 +39,7 @@ OBJS+=say.o ifeq ($(wildcard /usr/include/sys/poll.h),) OBJS+=poll.o + ASTCFLAGS+=-DPOLLCOMPAT endif ifeq ($(wildcard /usr/include/dlfcn.h),) @@ -59,11 +60,6 @@ ifneq ($(findstring darwin,$(OSARCH)),) ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),) ASTLINK=-Wl,-dynamic endif - # Mac on Intel CoreDuo does not need poll compatibility layer - ifneq ($(PROC),i386) - OBJS+=poll.o - ASTCFLAGS+=-DPOLLCOMPAT - endif else # These are used for all but Darwin ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),) |