Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
themattchan committed Oct 3, 2017
1 parent b71a240 commit 40a2011
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/LiquidHaskell/Cabal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,14 @@ makeGhcFlags
-> ComponentLocalBuildInfo
-> BuildInfo
-> [String]
makeGhcFlags verbosity lbi clbi bi =
#if MIN_VERSION_Cabal(1,24,0)
makeGhcFlags verbosity lbi clbi bi
= renderGhcOptions (compiler lbi) (hostPlatform lbi)
$ sanitizeGhcOptions
$ componentGhcOptions verbosity lbi bi clbi (buildDir lbi)
renderGhcOptions (compiler lbi) (hostPlatform lbi)
#else
makeGhcFlags verbosity lbi clbi bi
= renderGhcOptions (compiler lbi)
renderGhcOptions (compiler lbi)
#endif
$ sanitizeGhcOptions
$ componentGhcOptions verbosity lbi bi clbi (buildDir lbi)
#endif

-- Mute options that interfere with Liquid Haskell
sanitizeGhcOptions :: GhcOptions -> GhcOptions
Expand Down

0 comments on commit 40a2011

Please sign in to comment.