[project @ 2001-07-24 04:47:06 by ken]
authorken <unknown>
Tue, 24 Jul 2001 04:47:06 +0000 (04:47 +0000)
committerken <unknown>
Tue, 24 Jul 2001 04:47:06 +0000 (04:47 +0000)
Added missing hyphen in frnot of machdepCCOpts for mips and powerpc.

ghc/compiler/main/DriverFlags.hs

index 4943cd4..b3cb69f 100644 (file)
@@ -1,7 +1,7 @@
 {-# OPTIONS -#include "hschooks.h" #-}
 
 -----------------------------------------------------------------------------
--- $Id: DriverFlags.hs,v 1.62 2001/07/24 04:46:37 ken Exp $
+-- $Id: DriverFlags.hs,v 1.63 2001/07/24 04:47:06 ken Exp $
 --
 -- Driver flags
 --
@@ -505,10 +505,10 @@ machdepCCOpts
                    )
 
    | prefixMatch "mips"    cTARGETPLATFORM
-       = return ( ["static"], [] )
+       = return ( ["-static"], [] )
 
    | prefixMatch "powerpc" cTARGETPLATFORM || prefixMatch "rs6000" cTARGETPLATFORM
-       = return ( ["static"], ["-finhibit-size-directive"] )
+       = return ( ["-static"], ["-finhibit-size-directive"] )
 
    | otherwise
        = return ( [], [] )