Commit bcab1273 authored by Simon Marlow's avatar Simon Marlow

Include -optc options in mkExtraCObj (#5528)

parent 2a9f4209
......@@ -1428,8 +1428,9 @@ mkExtraCObj dflags xs
([Option "-c",
FileOption "" cFile,
Option "-o",
FileOption "" oFile] ++
map (FileOption "-I") (includeDirs rtsDetails))
FileOption "" oFile]
++ map SysTools.Option (getOpts dflags opt_c) -- see #5528
++ map (FileOption "-I") (includeDirs rtsDetails))
return oFile
mkExtraObjToLinkIntoBinary :: DynFlags -> [PackageId] -> IO FilePath
......
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