Skip to content
  • Cheng Shao's avatar
    631cefec
    driver: always merge objects when possible · 631cefec
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    This patch makes the driver always merge objects with `ld -r` when
    possible, and only fall back to calling `ar -L` when merge objects
    command is unavailable. This completely reverts !8887 and !12313,
    given more fixes in Cabal seems to be needed to avoid breaking certain
    configurations and the maintainence cost is exceeding the behefits in
    this case :/
    631cefec
    driver: always merge objects when possible
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    This patch makes the driver always merge objects with `ld -r` when
    possible, and only fall back to calling `ar -L` when merge objects
    command is unavailable. This completely reverts !8887 and !12313,
    given more fixes in Cabal seems to be needed to avoid breaking certain
    configurations and the maintainence cost is exceeding the behefits in
    this case :/
Loading