summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/platform/Darwin.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 918108aaf09..df16e2ffce0 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Darwin.mk,v 1.72 2015/10/05 17:06:22 jperkin Exp $
+# $NetBSD: Darwin.mk,v 1.73 2015/10/08 11:36:00 jperkin Exp $
#
# Variable definitions for the Darwin operating system.
@@ -168,6 +168,13 @@ CONFIGURE_ENV+= ac_cv_func_poll=no
. endif
.endif
+# El Capitan GM has a file system bug where a deep directory hierarchy can be
+# created but not removed. Avoid running a test which does exactly this.
+# See https://openradar.appspot.com/radar?id=6160634819379200
+.if defined(GNU_CONFIGURE) && !empty(OS_VERSION:M15.0.0)
+CONFIGURE_ENV+= gl_cv_func_getcwd_abort_bug=no
+.endif
+
# Use "/bin/ksh" for buildlink3 wrapper script to improve build performance.
.if (!empty(OS_VERSION:M9.*) || !empty(OS_VERSION:M1[0-2].*) || \
!empty(OS_VERSION:M1[4-9].*)) && \