add buildflags for dynamic executables

This commit is contained in:
Tim Dysinger 2015-03-11 14:33:14 -10:00 committed by Chris Done
parent f6b95190f1
commit 0ffdb203c3
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,7 @@ data BuildFlags = BuildFlags
, bfEnableHaddock :: !Bool
, bfDoUpload :: !Bool
, bfEnableLibProfile :: !Bool
, bfEnableExecDyn :: !Bool
, bfVerbose :: !Bool
, bfSkipCheck :: !Bool
} deriving (Show)

View File

@ -90,6 +90,9 @@ main =
switch
(long "enable-library-profiling" <>
help "Enable profiling when building") <*>
switch
(long "enable-executable-dynamic" <>
help "Enable dynamic executables when building") <*>
switch
(long "verbose" <> short 'v' <>
help "Output verbose detail about the build steps") <*>