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