From 9ade7f7101904ca6c1a8d30fcaa0f2a7c03d9ad7 Mon Sep 17 00:00:00 2001 From: coreyoconnor Date: Wed, 13 Jan 2010 21:16:47 -0800 Subject: [PATCH] adjust compiler optimization options Ignore-this: c8f0131117c6c6b5b39892a3967eeceb darcs-hash:20100114051647-f0a0d-bcd3148f3e59c7b321043a2539c0a21090f6b466.gz --- src/Data/Terminfo/Eval.hs | 2 +- vty.cabal | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Data/Terminfo/Eval.hs b/src/Data/Terminfo/Eval.hs index 43bac73..afb1874 100644 --- a/src/Data/Terminfo/Eval.hs +++ b/src/Data/Terminfo/Eval.hs @@ -5,7 +5,7 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE NoMonomorphismRestriction #-} {-# LANGUAGE NamedFieldPuns #-} -{-# OPTIONS_GHC -funbox-strict-fields -O #-} +{-# OPTIONS_GHC -funbox-strict-fields #-} {- Evaluates the paramaterized terminfo string capability with the given parameters. - - todo: This can be greatly simplified. diff --git a/vty.cabal b/vty.cabal index e212ca4..486143c 100644 --- a/vty.cabal +++ b/vty.cabal @@ -97,6 +97,6 @@ Extra-Source-Files: test/Makefile cbits/set_term_timing.c cbits/gwinsz.h -ghc-options: -funbox-strict-fields -Wall -fno-full-laziness -fspec-constr -ghc-prof-options: -funbox-strict-fields -caf-all -Wall -fno-full-laziness -fspec-constr +ghc-options: -O2 -funbox-strict-fields -Wall -fno-full-laziness -fspec-constr +ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fno-full-laziness -fspec-constr