Commit d765456f authored by sebc's avatar sebc
Browse files

[project @ 2001-12-03 14:49:24 by sebc]

On MacOS X, disable Apple's "smart" cpp
parent f4306488
{-# 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"] )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment