[project @ 2004-03-10 00:18:21 by wolfgang]
authorwolfgang <unknown>
Wed, 10 Mar 2004 00:18:21 +0000 (00:18 +0000)
committerwolfgang <unknown>
Wed, 10 Mar 2004 00:18:21 +0000 (00:18 +0000)
Remove -static flag from non-darwin PowerPC builds
(this was a relic from the long-dead AIX support)

Merge to STABLE.

ghc/compiler/main/DriverFlags.hs

index 63c36ac..a2ef2a1 100644 (file)
@@ -627,9 +627,6 @@ machdepCCOpts
       --     This is completely optional.
        = return ( ["-no-cpp-precomp","-mdynamic-no-pic"], [] )
 
-   | prefixMatch "powerpc" cTARGETPLATFORM || prefixMatch "rs6000" cTARGETPLATFORM
-       = return ( ["-static"], ["-finhibit-size-directive"] )
-
    | otherwise
        = return ( [], [] )