on master help sign in
add buildflags for dynamic executables
0ffdb20Tim Dysinger
Stackage/CompleteBuild.hs+1
@@ -36,6 +36,7 @@ data BuildFlags = BuildFlags
36 , bfEnableHaddock :: !Bool
36 , bfEnableHaddock :: !Bool
37 , bfDoUpload :: !Bool
37 , bfDoUpload :: !Bool
38 , bfEnableLibProfile :: !Bool
38 , bfEnableLibProfile :: !Bool
39+ , bfEnableExecDyn :: !Bool
39 , bfVerbose :: !Bool
40 , bfVerbose :: !Bool
40 , bfSkipCheck :: !Bool
41 , bfSkipCheck :: !Bool
41 } deriving (Show)
42 } deriving (Show)
app/stackage.hs+3
@@ -90,6 +90,9 @@ main =
90 switch
90 switch
91 (long "enable-library-profiling" <>
91 (long "enable-library-profiling" <>
92 help "Enable profiling when building") <*>
92 help "Enable profiling when building") <*>
93+ switch
94+ (long "enable-executable-dynamic" <>
95+ help "Enable dynamic executables when building") <*>
93 switch
96 switch
94 (long "verbose" <> short 'v' <>
97 (long "verbose" <> short 'v' <>
95 help "Output verbose detail about the build steps") <*>
98 help "Output verbose detail about the build steps") <*>