[project @ 2005-05-19 11:17:20 by simonmar]
authorsimonmar <unknown>
Thu, 19 May 2005 11:17:20 +0000 (11:17 +0000)
committersimonmar <unknown>
Thu, 19 May 2005 11:17:20 +0000 (11:17 +0000)
SMP: omit the -pthread flag on Windows

ghc/compiler/main/StaticFlags.hs

index 512f52c..e500cc7 100644 (file)
@@ -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"