Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
27438 commits behind, 31 commits ahead of the upstream repository.
  • Simon Marlow's avatar
    975e9cb8
    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
    History
    Include EXTRA_LD_OPTS (amongst other things) when linking programs
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
build-prog.mk 10.96 KiB