mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-22 02:57:54 +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
|
, bfEnableHaddock :: !Bool
|
||||||
, bfDoUpload :: !Bool
|
, bfDoUpload :: !Bool
|
||||||
, bfEnableLibProfile :: !Bool
|
, bfEnableLibProfile :: !Bool
|
||||||
|
, bfEnableExecDyn :: !Bool
|
||||||
, bfVerbose :: !Bool
|
, bfVerbose :: !Bool
|
||||||
, bfSkipCheck :: !Bool
|
, bfSkipCheck :: !Bool
|
||||||
} deriving (Show)
|
} deriving (Show)
|
||||||
|
|||||||
@ -90,6 +90,9 @@ main =
|
|||||||
switch
|
switch
|
||||||
(long "enable-library-profiling" <>
|
(long "enable-library-profiling" <>
|
||||||
help "Enable profiling when building") <*>
|
help "Enable profiling when building") <*>
|
||||||
|
switch
|
||||||
|
(long "enable-executable-dynamic" <>
|
||||||
|
help "Enable dynamic executables when building") <*>
|
||||||
switch
|
switch
|
||||||
(long "verbose" <> short 'v' <>
|
(long "verbose" <> short 'v' <>
|
||||||
help "Output verbose detail about the build steps") <*>
|
help "Output verbose detail about the build steps") <*>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user