add buildflags for dynamic executables
commit0ffdb203c3d340e2423b9d08b123491b94ef6225
authorTim Dysinger <tim@dysinger.net>
dateWed 11 Mar 2015, 14:33 (12 years ago)
parentf6b9519
Stackage/CompleteBuild.hs+1
@@ -36,6 +36,7 @@ data BuildFlags = BuildFlags
3636 , bfEnableHaddock :: !Bool
3737 , bfDoUpload :: !Bool
3838 , bfEnableLibProfile :: !Bool
39+ , bfEnableExecDyn :: !Bool
3940 , bfVerbose :: !Bool
4041 , bfSkipCheck :: !Bool
4142 } deriving (Show)
app/stackage.hs+3
@@ -90,6 +90,9 @@ main =
9090 switch
9191 (long "enable-library-profiling" <>
9292 help "Enable profiling when building") <*>
93+ switch
94+ (long "enable-executable-dynamic" <>
95+ help "Enable dynamic executables when building") <*>
9396 switch
9497 (long "verbose" <> short 'v' <>
9598 help "Output verbose detail about the build steps") <*>