Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ben Gamari's avatar
    f6b2751f
    configure: Fix #21712 again · f6b2751f
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    This is a bit of a shot in the dark to fix #24033, which appears to be
    another instance of #21712. For some reason the ld-override logic
    *still* appears to be active on Darwin targets (or at least one).
    Consequently, on misconfigured systems we may choose a non-`ld64`
    linker.
    
    It's a bit unclear exactly what happened in #24033 but ultimately the
    check added for #21712 was not quite right, checking for the
    `ghc_host_os` (the value of which depends upon the bootstrap compiler)
    instead of the target platform. Fix this.
    
    Fixes #24033.
    f6b2751f
    History
    configure: Fix #21712 again
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    This is a bit of a shot in the dark to fix #24033, which appears to be
    another instance of #21712. For some reason the ld-override logic
    *still* appears to be active on Darwin targets (or at least one).
    Consequently, on misconfigured systems we may choose a non-`ld64`
    linker.
    
    It's a bit unclear exactly what happened in #24033 but ultimately the
    check added for #21712 was not quite right, checking for the
    `ghc_host_os` (the value of which depends upon the bootstrap compiler)
    instead of the target platform. Fix this.
    
    Fixes #24033.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.