Skip to content

Commit 07319e0

Browse files
committed
fixup! Set -dynamic-system-linker if musl and not x86_64
1 parent bf901a1 commit 07319e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/ghc/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ let
317317
# `-fexternal-dynamic-refs` causes `undefined reference` errors when building GHC cross compiler for windows
318318
+ lib.optionalString (enableRelocatedStaticLibs && targetPlatform.isx86_64 && !targetPlatform.isWindows)
319319
" '*.*.ghc.*.opts += -fexternal-dynamic-refs'"
320-
+ lib.optionalString targetPlatform.isAndroid
321320
# The fact that we need to set this here is pretty idiotic. GHC should figure this out on it's own.
322321
# Either have a runtime flag/setting to disable it or if dlopen fails, remember that it failed and
323322
# fall back to non-dynamic. We only have x86_64 dynamic linker with musl.

0 commit comments

Comments
 (0)