Commit cc3d91e3 authored by sewardj's avatar sewardj
Browse files

[project @ 2001-08-31 13:51:45 by sewardj]

Pass -w to gcc for .hc compilation on sparc-solaris so as to suppress
warnings about call-clobbered regs being used for global vars.
parent 205383c2
{-# OPTIONS -#include "hschooks.h" #-}
-----------------------------------------------------------------------------
-- $Id: DriverFlags.hs,v 1.66 2001/08/17 17:18:52 apt Exp $
-- $Id: DriverFlags.hs,v 1.67 2001/08/31 13:51:45 sewardj Exp $
--
-- Driver flags
--
......@@ -517,6 +517,9 @@ machdepCCOpts
| prefixMatch "mips" cTARGETPLATFORM
= return ( ["-static"], [] )
| prefixMatch "sparc" cTARGETPLATFORM
= return ( [], ["-w"] )
| 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