• Ben Gamari's avatar
    Refactor handling of object merging · 53ce0db5
    Ben Gamari authored
    Previously to merge a set of object files we would invoke the linker as
    usual, adding -r to the command-line. However, this can result in
    non-sensical command-lines which causes lld to balk (#17962).
    To avoid this we introduce a new tool setting into GHC, -pgmlm, which is
    the linker which we use to merge object files.
Code owners : Ben Gamari
config.mk.in 30.3 KB