on master help sign in
add installflag for dynamic executables
f6b9519Tim Dysinger
Stackage/InstallBuild.hs+1
@@ -30,6 +30,7 @@ data InstallFlags = InstallFlags
30 , ifEnableTests :: !Bool
30 , ifEnableTests :: !Bool
31 , ifEnableHaddock :: !Bool
31 , ifEnableHaddock :: !Bool
32 , ifEnableLibProfiling :: !Bool
32 , ifEnableLibProfiling :: !Bool
33+ , ifEnableExecDyn :: !Bool
33 , ifVerbose :: !Bool
34 , ifVerbose :: !Bool
34 , ifSkipCheck :: !Bool
35 , ifSkipCheck :: !Bool
35 } deriving (Show)
36 } deriving (Show)
app/stackage.hs+3
@@ -149,6 +149,9 @@ main =
149 switch
149 switch
150 (long "enable-library-profiling" <>
150 (long "enable-library-profiling" <>
151 help "Enable profiling when building") <*>
151 help "Enable profiling when building") <*>
152+ switch
153+ (long "enable-executable-dynamic" <>
154+ help "Enable dynamic executables when building") <*>
152 switch
155 switch
153 (long "verbose" <> short 'v' <>
156 (long "verbose" <> short 'v' <>
154 help "Output verbose detail about the build steps") <*>
157 help "Output verbose detail about the build steps") <*>