Commit 9f03486a authored by ian@well-typed.com's avatar ian@well-typed.com

Turn object splitting off when we use the dynamic way

There's no point splitting objects when we're going to be dynamically
linking. Plus it breaks compilation on OSX x86.
parent 024311c4
......@@ -1067,7 +1067,12 @@ wayGeneralFlags _ WayNDP = []
wayUnsetGeneralFlags :: Platform -> Way -> [GeneralFlag]
wayUnsetGeneralFlags _ WayThreaded = []
wayUnsetGeneralFlags _ WayDebug = []
wayUnsetGeneralFlags _ WayDyn = [Opt_Static]
wayUnsetGeneralFlags _ WayDyn = [Opt_Static,
-- There's no point splitting objects
-- when we're going to be dynamically
-- linking. Plus it breaks compilation
-- on OSX x86.
Opt_SplitObjs]
wayUnsetGeneralFlags _ WayProf = []
wayUnsetGeneralFlags _ WayEventLog = []
wayUnsetGeneralFlags _ WayPar = []
......
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