Subject: Re: CVS commit: pkgsrc
To: grant beattie <grant@NetBSD.org>
From: Johnny C. Lam <jlam@buildlink.org>
List: tech-pkg
Date: 02/09/2004 03:49:03
On Mon, Feb 09, 2004 at 02:45:32PM +1100, grant beattie wrote:
> On Mon, Feb 09, 2004 at 03:26:39AM +0000, Johnny C. Lam wrote:
>
> > Log Message:
> > CC_VERSION is "gcc-2.8.1" for egcs. Also fix up a few nits: not all
> > compilers understand "-O" to optimize, and if we only care about gcc, then
> > wrap the block in an ifdef that is triggered only if we're using gcc.
>
> this is news to me.. which compilers don't understand -O ?
I thought the MIPSpro one used -xO. In any case, we should be adding
those types of flags only for specified compilers.
Cheers,
-- Johnny Lam <jlam@buildlink.org>