summaryrefslogtreecommitdiff
path: root/mk/defs.Interix.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/defs.Interix.mk')
-rw-r--r--mk/defs.Interix.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/defs.Interix.mk b/mk/defs.Interix.mk
index cfd7ecfe13c..3339537da78 100644
--- a/mk/defs.Interix.mk
+++ b/mk/defs.Interix.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Interix.mk,v 1.19 2004/04/27 12:05:16 tv Exp $
+# $NetBSD: defs.Interix.mk,v 1.20 2004/04/28 11:11:19 tv Exp $
#
# Variable definitions for the Interix operating system.
@@ -155,6 +155,12 @@ SERIAL_DEVICES?= /dev/tty00 /dev/tty01 /dev/tty02 /dev/tty03
CPPFLAGS+= -D_ALL_SOURCE
.endif
+# poll(2) is broken; try to work around it by making autoconf believe
+# it's missing. (Packages without autoconf will need explicit fixing.)
+.ifdef GNU_CONFIGURE
+CONFIGURE_ENV+= ac_cv_header_poll_h=no ac_cv_func_poll=no
+.endif
+
# Interix gcc "PIC" is broken, but non-"PIC" is shlib linkable.
# We need to AVOID -fpic/-fPIC options to gcc.
BUILDLINK_TRANSFORM+= S:-fpic: S:-fPIC: