#7909: GHC doesn't respect -optl and -optc in a couple of places ---------------------------------+------------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.6.3 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Comment(by marlowsd@…): commit 1e2b3780ebc40d28cd0f029b90df102df09e6827 {{{ Author: Simon Marlow <marlowsd@gmail.com> Date: Tue May 21 10:34:04 2013 +0100 Handle -opt<blah> options more consistently (#7909) Now these are always added by the run<blah> functions in SysTools, so we never miss any out. Several cleanups resulted. compiler/ghci/Linker.lhs | 9 ++-- compiler/main/DriverPipeline.hs | 64 +++++++---------------- compiler/main/DynFlags.hs | 7 ++- compiler/main/SysTools.lhs | 111 +++++++++++++++++++++------------------ ghc/Main.hs | 6 ++- 5 files changed, 91 insertions(+), 106 deletions(-) }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7909#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler