Skip to content
Snippets Groups Projects
Commit f7c733bf authored by Matthew Pickering's avatar Matthew Pickering
Browse files

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
parent f7b3359b
No related merge requests found
...@@ -292,8 +292,12 @@ ld-options: ...@@ -292,8 +292,12 @@ ld-options:
* path. This is important to use the static gmp in preference on Mac OS. * path. This is important to use the static gmp in preference on Mac OS.
* The used option is specific to the Darwin linker. * The used option is specific to the Darwin linker.
*/ */
/*
* See Note [fd_set_overflow]
*/
#if defined(darwin_HOST_OS) #if defined(darwin_HOST_OS)
, "-Wl,-search_paths_first" , "-Wl,-search_paths_first"
, "-Wl,-U,___darwin_check_fd_set_overflow"
#endif #endif
#if defined(darwin_HOST_OS) && !defined(x86_64_HOST_ARCH) && !defined(aarch64_HOST_ARCH) #if defined(darwin_HOST_OS) && !defined(x86_64_HOST_ARCH) && !defined(aarch64_HOST_ARCH)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment