
#13366: addCStub doesn't allow control over compiler flags or source file file -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bitonic Type: feature request | Status: closed Priority: high | Milestone: 8.2.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): Phab:D3280 Wiki Page: | -------------------------------------+------------------------------------- Comment (by bitonic): Actually, I realized now that the scope of the ticket is a bit wider -- since it's regarding any compilation flag. It would be easy to extend `addForeignFile` to accept other flags, but I don't think is as critical (at least it isn't for my use cases). I'll leave the decision to bgamari. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13366#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler