From: sebc Date: Mon, 3 Dec 2001 14:49:24 +0000 (+0000) Subject: [project @ 2001-12-03 14:49:24 by sebc] X-Git-Tag: Approximately_9120_patches~479 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d765456fe89060c148e8f875f7d3ed8dda9fd4e6;p=ghc-hetmet.git [project @ 2001-12-03 14:49:24 by sebc] On MacOS X, disable Apple's "smart" cpp --- diff --git a/ghc/compiler/main/DriverFlags.hs b/ghc/compiler/main/DriverFlags.hs index fc78b68..069ddb7 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.78 2001/10/29 13:25:19 simonmar Exp $ +-- $Id: DriverFlags.hs,v 1.79 2001/12/03 14:49:24 sebc Exp $ -- -- Driver flags -- @@ -532,6 +532,9 @@ machdepCCOpts -- register used for global register variable", we simply -- disable all warnings altogether using the -w flag. Oh well. + | prefixMatch "powerpc-apple-macosx" cTARGETPLATFORM + = return ( ["-no-cpp-precomp"], [""] ) + | prefixMatch "powerpc" cTARGETPLATFORM || prefixMatch "rs6000" cTARGETPLATFORM = return ( ["-static"], ["-finhibit-size-directive"] )