From: simonmar Date: Thu, 19 May 2005 11:17:20 +0000 (+0000) Subject: [project @ 2005-05-19 11:17:20 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~509 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=eab2c6c48c6d0d679e2a737388749ac482372110;p=ghc-hetmet.git [project @ 2005-05-19 11:17:20 by simonmar] SMP: omit the -pthread flag on Windows --- diff --git a/ghc/compiler/main/StaticFlags.hs b/ghc/compiler/main/StaticFlags.hs index 512f52c..e500cc7 100644 --- 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"