diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-08-16 14:33:57 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-08-19 18:02:48 -0400 |
commit | ad28ae41206e3a8b483b067a8e3333df445010b6 (patch) | |
tree | 37a2d74191b40759c7633e2a625610b92f519482 /rts/package.conf.in | |
parent | d43442cb8f64449343be2f5516f141ef027b9e99 (diff) | |
download | haskell-ad28ae41206e3a8b483b067a8e3333df445010b6.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
(cherry picked from commit e316a0f3e7a733fac0c30633767487db086c4cd0)
Diffstat (limited to 'rts/package.conf.in')
-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 50a372b2f0..bc24614085 100644 --- a/rts/package.conf.in +++ b/rts/package.conf.in @@ -310,8 +310,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) |