| 1 | diff -u -r ../ghc-8.0.1/compiler/main/DriverPipeline.hs ./compiler/main/DriverPipeline.hs |
| 2 | --- ../ghc-8.0.1/compiler/main/DriverPipeline.hs 2016-05-16 13:08:53.000000000 -0400 |
| 3 | +++ ./compiler/main/DriverPipeline.hs 2016-09-07 03:37:48.321941122 -0400 |
| 4 | @@ -1831,10 +1831,7 @@ |
| 5 | | WayThreaded `elem` ways dflags = |
| 6 | let os = platformOS (targetPlatform dflags) |
| 7 | in if os == OSOsf3 then ["-lpthread", "-lexc"] |
| 8 | - else if os `elem` [OSMinGW32, OSFreeBSD, OSOpenBSD, |
| 9 | - OSNetBSD, OSHaiku, OSQNXNTO, OSiOS, OSDarwin] |
| 10 | - then [] |
| 11 | - else ["-lpthread"] |
| 12 | + else [] |
| 13 | | otherwise = [] |
| 14 | |
| 15 | rc_objs <- maybeCreateManifest dflags output_fn |