From 12c6837ca86f944694e95e931b3c3576768f9e93 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 22 Mar 2008 13:36:22 +0000 Subject: [PATCH] List extensions used rather than using the -fglasgow-exts hammer --- base.cabal | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/base.cabal b/base.cabal index 9792d80..335ab39 100644 --- a/base.cabal +++ b/base.cabal @@ -65,6 +65,12 @@ Library { GHC.Weak, GHC.Word, System.Timeout + extensions: MagicHash, ExistentialQuantification, Rank2Types, + ScopedTypeVariables, UnboxedTuples, + ForeignFunctionInterface, UnliftedFFITypes, + DeriveDataTypeable, GeneralizedNewtypeDeriving, + FlexibleInstances, PatternSignatures, StandaloneDeriving, + PatternGuards } exposed-modules: Control.Applicative, @@ -166,10 +172,9 @@ Library { if os(windows) { extra-libraries: wsock32, msvcrt, kernel32, user32, shell32 } - extensions: CPP - -- XXX is there an extension for using # in varids? + extensions: CPP -- We need to set the package name to base (without a version number) -- as it's magic. - ghc-options: -fglasgow-exts -package-name base + ghc-options: -package-name base nhc98-options: -H4M -K3M } -- 1.7.10.4