Commit b7c0753a authored by Moritz Angermann's avatar Moritz Angermann

Fix flags?

parent 68344433
......@@ -510,6 +510,8 @@ binfoFieldDescrs =
sharedOptions (\val binfo -> binfo{sharedOptions=val})
, optsField "ghcjs-shared-options" GHCJS
sharedOptions (\val binfo -> binfo{sharedOptions=val})
, optsField "ghc-static-options" GHC
staticOptions (\val binfo -> binfo{staticOptions=val})
, optsField "ghc-options" GHC
options (\path binfo -> binfo{options=path})
, optsField "ghcjs-options" GHCJS
......
......@@ -514,7 +514,9 @@ binfoFieldDescrs =
sharedOptions (\val binfo -> binfo{sharedOptions=val})
, optsField "ghcjs-shared-options" GHCJS
sharedOptions (\val binfo -> binfo{sharedOptions=val})
, optsField "ghc-options" GHC
, optsField "ghc-static-options" GHC
staticOptions (\val binfo -> binfo{staticOptions=val})
, optsField "ghc-options" GHC
options (\path binfo -> binfo{options=path})
, optsField "ghcjs-options" GHCJS
options (\path binfo -> binfo{options=path})
......
......@@ -422,7 +422,9 @@ filterConfigureFlags flags cabalLibVersion
flags_2_1_0 = flags_latest {
-- Cabal < 2.1 doesn't know about -v +timestamp modifier
configVerbosity = fmap verboseNoTimestamp (configVerbosity flags_latest)
configVerbosity = fmap verboseNoTimestamp (configVerbosity flags_latest)
-- Cabal < 2.1 doesn't know about --<enable|disable>-static
, configStaticLib = NoFlag
}
flags_1_25_0 = flags_2_1_0 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment