From a33dc3a124b9817d9c1db7db7a161cd38d7d1f03 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 28 Apr 2014 11:42:28 -0700 Subject: [PATCH] web: build with the default -O, not -O2 Building hledger-web is taking more than half a gigabyte here. Building with -O2 is generally considered to eat more memory. and be less robust than -O, and seems unnecessary for hledger-web. --- hledger-web/hledger-web.cabal | 2 -- 1 file changed, 2 deletions(-) diff --git a/hledger-web/hledger-web.cabal b/hledger-web/hledger-web.cabal index e95db9288..079fb7434 100644 --- a/hledger-web/hledger-web.cabal +++ b/hledger-web/hledger-web.cabal @@ -181,8 +181,6 @@ executable hledger-web ghc-options: -threaded if flag(dev) ghc-options: -O0 - else - ghc-options: -O2 extensions: CPP