From: ken Date: Wed, 10 Oct 2001 17:17:44 +0000 (+0000) Subject: [project @ 2001-10-10 17:17:44 by ken] X-Git-Tag: Approximately_9120_patches~853 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=9508d01adb6afee31ba3534e5cd8a0ec6ab95b4e;p=ghc-hetmet.git [project @ 2001-10-10 17:17:44 by ken] Pass the "-mieee" flag to gcc, so that we get IEEE floating-point. (Fixed: pass the flag all the time, not just when compiling HC files.) MERGE TO STABLE --- diff --git a/ghc/compiler/main/DriverFlags.hs b/ghc/compiler/main/DriverFlags.hs index 461a70d..1785f16 100644 --- a/ghc/compiler/main/DriverFlags.hs +++ b/ghc/compiler/main/DriverFlags.hs @@ -1,7 +1,7 @@ {-# OPTIONS -#include "hschooks.h" #-} ----------------------------------------------------------------------------- --- $Id: DriverFlags.hs,v 1.74 2001/10/08 13:24:53 simonmar Exp $ +-- $Id: DriverFlags.hs,v 1.75 2001/10/10 17:17:44 ken Exp $ -- -- Driver flags -- @@ -487,7 +487,7 @@ buildStaticHscOpts = do machdepCCOpts | prefixMatch "alpha" cTARGETPLATFORM - = return ( ["-static", "-w"], ["-mieee"] ) + = return ( ["-static", "-w", "-mieee"], [] ) -- For now, to suppress the gcc warning "call-clobbered -- register used for global register variable", we simply -- disable all warnings altogether using the -w flag. Oh well.