projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a58704
)
[project @ 2005-05-19 11:17:20 by simonmar]
author
simonmar
<unknown>
Thu, 19 May 2005 11:17:20 +0000
(11:17 +0000)
committer
simonmar
<unknown>
Thu, 19 May 2005 11:17:20 +0000
(11:17 +0000)
SMP: omit the -pthread flag on Windows
ghc/compiler/main/StaticFlags.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/StaticFlags.hs
b/ghc/compiler/main/StaticFlags.hs
index
512f52c
..
e500cc7
100644
(file)
--- a/
ghc/compiler/main/StaticFlags.hs
+++ b/
ghc/compiler/main/StaticFlags.hs
@@
-567,8
+567,10
@@
way_details =
(WaySMP, Way "s" False "SMP"
[ "-fsmp"
+#if !defined(mingw32_TARGET_OS)
, "-optc-pthread"
-#ifndef freebsd_TARGET_OS
+#endif
+#if !defined(mingw32_TARGET_OS) && !defined(freebsd_TARGET_OS)
, "-optl-pthread"
#endif
, "-optc-DSMP"