Commit db38885f authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Always build ar files with indexes

Since we have to be able to use these inplace we always need
the index it's not enough to just make the index on installing.
This particularly affects OSX.
parent 74ffaf38
...@@ -553,16 +553,16 @@ buildLib verbosity pkg_descr lbi lib clbi = do ...@@ -553,16 +553,16 @@ buildLib verbosity pkg_descr lbi lib clbi = do
| libFilePath <- [vanillaLibFilePath, profileLibFilePath | libFilePath <- [vanillaLibFilePath, profileLibFilePath
,sharedLibFilePath, ghciLibFilePath] ] ,sharedLibFilePath, ghciLibFilePath] ]
let arVerbosity | verbosity >= deafening = "v" let arVerbosity | verbosity >= deafening = "-v"
| verbosity >= normal = "" | otherwise = "-c"
| otherwise = "c" arBasicArgs = [ "-r", "-s", arVerbosity ]
arArgs = ["q"++ arVerbosity] arArgs = arBasicArgs
++ [vanillaLibFilePath] ++ [vanillaLibFilePath]
arObjArgs = arObjArgs =
hObjs hObjs
++ map (pref </>) cObjs ++ map (pref </>) cObjs
++ stubObjs ++ stubObjs
arProfArgs = ["q"++ arVerbosity] arProfArgs = arBasicArgs
++ [profileLibFilePath] ++ [profileLibFilePath]
arProfObjArgs = arProfObjArgs =
hProfObjs hProfObjs
......
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