projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cafceec
)
[project @ 2004-10-08 12:16:04 by simonmar]
author
simonmar
<unknown>
Fri, 8 Oct 2004 12:16:04 +0000
(12:16 +0000)
committer
simonmar
<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
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/DriverState.hs
b/ghc/compiler/main/DriverState.hs
index
1efafd2
..
468fc76
100644
(file)
--- a/
ghc/compiler/main/DriverState.hs
+++ b/
ghc/compiler/main/DriverState.hs
@@
-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
] ),