From eab2c6c48c6d0d679e2a737388749ac482372110 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 19 May 2005 11:17:20 +0000 Subject: [PATCH] [project @ 2005-05-19 11:17:20 by simonmar] SMP: omit the -pthread flag on Windows --- ghc/compiler/main/StaticFlags.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 1.7.10.4