aboutsummaryrefslogtreecommitdiffstats
path: root/main/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'main/Makefile')
-rw-r--r--main/Makefile6
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)),)