summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/package.conf.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 718fa1b203..eba090df8d 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -314,8 +314,12 @@ ld-options:
* path. This is important to use the static gmp in preference on Mac OS.
* The used option is specific to the Darwin linker.
*/
+/*
+ * See Note [fd_set_overflow]
+*/
#if defined(darwin_HOST_OS)
, "-Wl,-search_paths_first"
+ , "-Wl,-U,___darwin_check_fd_set_overflow"
#endif
#if defined(darwin_HOST_OS) && !defined(x86_64_HOST_ARCH) && !defined(aarch64_HOST_ARCH)