Skip to content
  • Ben Gamari's avatar
    Fix GhcThreaded setting · bec76733
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    This adopts a patch from NetBSD's packaging fixing the `GhcThreaded`
    option of the make build system. In addition we introduce a `ghcThreaded`
    option in hadrian's `Flavour` type.
    
    Also fix Hadrian's treatment of the `Use Threaded` entry in `settings`.
    Previously it would incorrectly claim `Use Threaded = True` if we were
    building the `threaded` runtime way. However, this is inconsistent with
    the `make` build system, which defines it to be whether the `ghc`
    executable is linked against the threaded runtime.
    
    Fixes #17692.
    bec76733