summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Gardas <karel.gardas@centrum.cz>2014-07-28 07:49:12 -0500
committerAustin Seipp <austin@well-typed.com>2014-07-28 09:29:17 -0500
commitcc3717597597c031dd8402c443f40f76d432c044 (patch)
treef55be94db015be1c823e2b1a1cee7f85206c899e
parent39b5c1cbd8950755de400933cecca7b8deb4ffcd (diff)
downloadhaskell-cc3717597597c031dd8402c443f40f76d432c044.tar.gz
do not link with -lrt on Solaris for threaded way
Summary: This patch removes linking with rt library on Solaris for threaded way. The reason is simple it casuses few ffi related tests failures and also is not needed anymore. Test Plan: validate Reviewers: austin Reviewed By: austin Subscribers: phaskell, simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D95
-rw-r--r--compiler/main/DynFlags.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 0a18be4b2b..1bb9f2ceb8 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -1215,7 +1215,6 @@ wayOptl platform WayThreaded =
-- the problems are our fault or theirs, but it seems that using the
-- alternative 1:1 threading library libthr works around it:
OSFreeBSD -> ["-lthr"]
- OSSolaris2 -> ["-lrt"]
OSOpenBSD -> ["-pthread"]
OSNetBSD -> ["-pthread"]
_ -> []