
#13583: configure.ac: handle AR=, NM= and other flags as arguments to ./configure -------------------------------------+------------------------------------- Reporter: slyfox | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): The above commit does nothing about the ld issue. I think the best of the terrible options before us would be to. 1. replace the logic which currently forces use of gold with a test looking for the broken bfd linker, falling off it is found. 2. add some logic to look at the value of`LD` and try adding the appropriate flag to the C compiler flags to ensure that it is used I don't know the best way for the user to disable (2), as distribution packagers will almost certainly want to do. I suppose a `--disable-ld- cflags` configure option might work, but it seems terrible. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13583#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler