Permalink
Browse files

don't build ghci .o library files by default

- default configGHCiLib to False since ghci can load .a files

I think there no need to build .o files for ghci by default:
they just take up extra time and space.
I checked with SimonM and he also thinks this should be ok for all platforms.
Additionally no point to build .o lib files on lower tier archs
without ghci support. :)
  • Loading branch information...
juhp committed Jul 14, 2012
1 parent a91f71d commit 48efd4b59093f20572d69a1e1276e2eaa8ed3cff
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cabal/Distribution/Simple/Setup.hs
@@ -313,7 +313,7 @@ defaultConfigFlags progConf = emptyConfigFlags {
configDistPref = Flag defaultDistPref,
configVerbosity = Flag normal,
configUserInstall = Flag False, --TODO: reverse this
configGHCiLib = Flag True,
configGHCiLib = Flag False,
configSplitObjs = Flag False, -- takes longer, so turn off by default
configStripExes = Flag True,
configTests = Flag False,

0 comments on commit 48efd4b

Please sign in to comment.