Commit 2dd80f69 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺

Convert `ghc-bin.cabal` to use others-extensions

This replaces the previous `default-extensions` by per-file declared
`{-# LANGUAGE ... #-}` pragmas.
Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
parent d4aa4e42
{-# LANGUAGE CPP, FlexibleInstances, UnboxedTuples, MagicHash #-}
{-# OPTIONS_GHC -fno-cse -fno-warn-orphans #-}
-- -fno-cse is needed for GLOBAL_VAR's to behave properly
......
{-# LANGUAGE CPP, MagicHash, NondecreasingIndentation, TupleSections #-}
{-# OPTIONS -fno-cse #-}
-- -fno-cse is needed for GLOBAL_VAR's to behave properly
......
{-# LANGUAGE CPP, NondecreasingIndentation #-}
{-# OPTIONS -fno-warn-incomplete-patterns -optc-DNON_POSIX_SOURCE #-}
-----------------------------------------------------------------------------
......
......@@ -45,11 +45,17 @@ Executable ghc
if flag(ghci)
CPP-Options: -DGHCI
GHC-Options: -fno-warn-name-shadowing
Other-Modules: InteractiveUI, GhciMonad, GhciTags
Other-Modules:
InteractiveUI
GhciMonad
GhciTags
Build-Depends: transformers, haskeline
Default-Extensions: UnboxedTuples,
FlexibleInstances,
TupleSections,
Other-Extensions:
FlexibleInstances
MagicHash
TupleSections
UnboxedTuples
Default-Extensions: CPP, NondecreasingIndentation
Other-Extensions:
CPP
NondecreasingIndentation
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment