on master help sign in
adjust compiler optimization options
9ade7f7coreyoconnor
src/Data/Terminfo/Eval.hs+1−1
@@ -5,7 +5,7 @@
5{-# LANGUAGE FlexibleContexts #-}
5{-# LANGUAGE FlexibleContexts #-}
6{-# LANGUAGE NoMonomorphismRestriction #-}
6{-# LANGUAGE NoMonomorphismRestriction #-}
7{-# LANGUAGE NamedFieldPuns #-}
7{-# LANGUAGE NamedFieldPuns #-}
8−{-# OPTIONS_GHC -funbox-strict-fields -O #-}
8+{-# OPTIONS_GHC -funbox-strict-fields #-}
9{- Evaluates the paramaterized terminfo string capability with the given parameters.
9{- Evaluates the paramaterized terminfo string capability with the given parameters.
10 -
10 -
11 - todo: This can be greatly simplified.
11 - todo: This can be greatly simplified.
vty.cabal+2−2
@@ -97,6 +97,6 @@ Extra-Source-Files: test/Makefile
97 cbits/set_term_timing.c
97 cbits/set_term_timing.c
98 cbits/gwinsz.h
98 cbits/gwinsz.h
99
99
100−ghc-options: -funbox-strict-fields -Wall -fno-full-laziness -fspec-constr
100+ghc-options: -O2 -funbox-strict-fields -Wall -fno-full-laziness -fspec-constr
101−ghc-prof-options: -funbox-strict-fields -caf-all -Wall -fno-full-laziness -fspec-constr
101+ghc-prof-options: -O2 -funbox-strict-fields -caf-all -Wall -fno-full-laziness -fspec-constr
102
102