diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-08-16 14:33:57 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-08-16 22:22:07 +0100 |
commit | f7c733bf165c3bdba6a68d74038bbdc47e3eca3d (patch) | |
tree | 904f2783c1bbc300ee88f4c522a223422163597b | |
parent | f7b3359be12030d762b299681e1aeef0292417ce (diff) | |
download | haskell-f7c733bf165c3bdba6a68d74038bbdc47e3eca3d.tar.gz |
Add -Wl,-U,___darwin_check_fd_set_overflow to rts/package.conf.in
The make build system apparently uses this special package.conf rather
than generating it from the cabal file.
Ticket: #19950
-rw-r--r-- | rts/package.conf.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in index b00d310f05..e7379045ed 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -292,8 +292,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) |