From 9d0e52d16e17b884abfb4f5b765b20981a5c79c2 Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 29 Sep 2003 11:03:29 +0000 Subject: [PATCH] [project @ 2003-09-29 11:03:29 by simonmar] oops, we need to include -fignore-interface-pragmas and -fomit-interface-pragmas in the default set of options. --- ghc/compiler/main/CmdLineOpts.lhs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/main/CmdLineOpts.lhs b/ghc/compiler/main/CmdLineOpts.lhs index caae4cb..153c058 100644 --- a/ghc/compiler/main/CmdLineOpts.lhs +++ b/ghc/compiler/main/CmdLineOpts.lhs @@ -384,11 +384,16 @@ defaultDynFlags = DynFlags { -- applies to -O. Opt_CSE, -- similarly for CSE. - Opt_DoLambdaEtaExpansion + Opt_DoLambdaEtaExpansion, -- This one is important for a tiresome reason: -- we want to make sure that the bindings for data -- constructors are eta-expanded. This is probably -- a good thing anyway, but it seems fragile. + + -- and the default no-optimisation options: + Opt_IgnoreInterfacePragmas, + Opt_OmitInterfacePragmas + ] ++ standardWarnings, } -- 1.7.10.4