Skip to content

Commit

Permalink
Try #1430:
Browse files Browse the repository at this point in the history
  • Loading branch information
iohk-bors[bot] authored Apr 8, 2022
2 parents aef9e94 + 457754e commit 8c6a5be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/ghc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ let
'' + lib.optionalString enableRelocatedStaticLibs ''
GhcLibHcOpts += -fPIC
GhcRtsHcOpts += -fPIC
GhcRtsCcOpts += -fPIC
'' + lib.optionalString (enableRelocatedStaticLibs && targetPlatform.isx86_64) ''
GhcLibHcOpts += -fexternal-dynamic-refs
GhcLibHcOpts += -fexternal-dynamic-refs
'' + lib.optionalString enableDWARF ''
GhcLibHcOpts += -g3
GhcRtsHcOpts += -g3
Expand Down

0 comments on commit 8c6a5be

Please sign in to comment.