mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
add buildflags for dynamic executables
This commit is contained in:
parent
f6b95190f1
commit
0ffdb203c3
@ -36,6 +36,7 @@ data BuildFlags = BuildFlags
|
||||
, bfEnableHaddock :: !Bool
|
||||
, bfDoUpload :: !Bool
|
||||
, bfEnableLibProfile :: !Bool
|
||||
, bfEnableExecDyn :: !Bool
|
||||
, bfVerbose :: !Bool
|
||||
, bfSkipCheck :: !Bool
|
||||
} deriving (Show)
|
||||
|
||||
@ -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") <*>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user