[project @ 2004-10-08 12:16:04 by simonmar]
authorsimonmar <unknown>
Fri, 8 Oct 2004 12:16:04 +0000 (12:16 +0000)
committersimonmar <unknown>
Fri, 8 Oct 2004 12:16:04 +0000 (12:16 +0000)
FreeBSD needs -optl-pthread for the threaded way

ghc/compiler/main/DriverState.hs

index 1efafd2..468fc76 100644 (file)
@@ -576,7 +576,8 @@ way_details :: [ (WayName, Way) ]
 way_details =
   [ (WayThreaded, Way "thr" True "Threaded" [
 #if defined(freebsd_TARGET_OS)
-       "-optc-pthread"
+         "-optc-pthread"
+        , "-optl-pthread"
 #endif
        ] ),