From 40a2011b8f044d03cb64ea6c58feab04c906d802 Mon Sep 17 00:00:00 2001 From: Matthew Chan Date: Tue, 3 Oct 2017 14:25:55 -0700 Subject: [PATCH] clean --- src/LiquidHaskell/Cabal.hs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/LiquidHaskell/Cabal.hs b/src/LiquidHaskell/Cabal.hs index cf65fb2..46c2dae 100644 --- a/src/LiquidHaskell/Cabal.hs +++ b/src/LiquidHaskell/Cabal.hs @@ -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