Skip to content
  • Simon Marlow's avatar
    Include EXTRA_LD_OPTS (amongst other things) when linking programs · 975e9cb8
    Simon Marlow authored
    One problem was that we weren't including $1_$2_DIST_LD_OPTS when
    linking a program, which looks to be accidental: it was being defined
    but not used anywhere.  This meant that setting $1_$2_EXTRA_LD_OPTS,
    for example, had no effect.
    
    This commit straightens out the handling of LD_OPTS to be consistent
    with the way we handle CC_OPTS and HC_OPTS.
    975e9cb8