diff options
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/main/DriverPipeline.hs | 5 | ||||
| -rw-r--r-- | compiler/utils/Platform.hs | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index 89fbb42346..1991bd3c86 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -1834,9 +1834,8 @@ linkBinary' staticLink dflags o_files dep_packages = do let thread_opts | WayThreaded `elem` ways dflags = let os = platformOS (targetPlatform dflags) - in if os == OSOsf3 then ["-lpthread", "-lexc"] - else if os `elem` [OSMinGW32, OSFreeBSD, OSOpenBSD, - OSNetBSD, OSHaiku, OSQNXNTO, OSiOS, OSDarwin] + in if os `elem` [OSMinGW32, OSFreeBSD, OSOpenBSD, + OSNetBSD, OSHaiku, OSQNXNTO, OSiOS, OSDarwin] then [] else ["-lpthread"] | otherwise = [] diff --git a/compiler/utils/Platform.hs b/compiler/utils/Platform.hs index cfd948e779..600ed8099d 100644 --- a/compiler/utils/Platform.hs +++ b/compiler/utils/Platform.hs @@ -84,7 +84,6 @@ data OS | OSNetBSD | OSKFreeBSD | OSHaiku - | OSOsf3 | OSQNXNTO | OSAndroid | OSAIX @@ -136,8 +135,6 @@ osElfTarget OSiOS = False osElfTarget OSMinGW32 = False osElfTarget OSKFreeBSD = True osElfTarget OSHaiku = True -osElfTarget OSOsf3 = False -- I don't know if this is right, but as - -- per comment below it's safe osElfTarget OSQNXNTO = False osElfTarget OSAndroid = True osElfTarget OSAIX = False |
