From 982f3f1bdb754a7ca82c77c5d6f2576053fb0163 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 8 Oct 2004 12:16:04 +0000 Subject: [PATCH] [project @ 2004-10-08 12:16:04 by simonmar] FreeBSD needs -optl-pthread for the threaded way --- ghc/compiler/main/DriverState.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/main/DriverState.hs b/ghc/compiler/main/DriverState.hs index 1efafd2..468fc76 100644 --- 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 ] ), -- 1.7.10.4