From: pho Date: Wed, 18 Jun 2008 09:05:40 +0000 (+0900) Subject: cabal fix X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Rakka.git;a=commitdiff_plain;h=fa79b22a10d1036b41c9bd9c7b832af7286e8cd9 cabal fix darcs-hash:20080618090540-62b54-57033a4174ec041e93fed56be7581f424699213d.gz --- diff --git a/Rakka.cabal b/Rakka.cabal index 20efd88..930cc76 100644 --- a/Rakka.cabal +++ b/Rakka.cabal @@ -12,6 +12,7 @@ Homepage: http://rakka.cielonegro.org/ Category: Web Tested-With: GHC == 6.6.1 Cabal-Version: >= 1.2 +Build-Type: Custom Data-Files: defaultPages/Feed.xml @@ -50,14 +51,6 @@ Flag build-test-suite Description: Build the test suite. Default: False -Flag enable-profiling - Description: Enable profiling of the executable - Default: False - -Flag hardest-optimization - Description: Make the executable as fast as possible - Default: False - Executable rakka Build-Depends: FileManip, HTTP, HUnit, HsHyperEstraier, HsOpenSSL, HsSVN >= @@ -104,16 +97,8 @@ Executable rakka Rakka.Wiki.Parser Extensions: Arrows, ExistentialQuantification, ScopedTypeVariables, DeriveDataTypeable, FlexibleInstances - if flag(enable-profiling) - GHC-Options: - -Wall -O2 -fvia-C -prof -auto-all - else - if flag(hardest-optimization) - GHC-Options: - -Wall -O2 -fvia-C -funbox-strict-fields -threaded - else - GHC-Options: - -Wall -threaded + GHC-Options: + -Wall -threaded Executable RakkaUnitTest if flag(build-test-suite)