We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-fexternal-dynamic-refs
1 parent 46343c6 commit 5063712Copy full SHA for 5063712
compiler/ghc/default.nix
@@ -140,7 +140,7 @@ let
140
GhcLibHcOpts += -fPIC
141
GhcRtsHcOpts += -fPIC
142
GhcRtsCcOpts += -fPIC
143
- '' + lib.optionalString (enableRelocatedStaticLibs && targetPlatform.isx86_64) ''
+ '' + lib.optionalString (enableRelocatedStaticLibs && targetPlatform.isx86_64 && !targetPlatform.isWindows) ''
144
GhcLibHcOpts += -fexternal-dynamic-refs
145
GhcRtsHcOpts += -fexternal-dynamic-refs
146
'' + lib.optionalString enableDWARF ''
0 commit comments