[ODE] [patch] gcc detection
Adam D. Moss
adam at gimp.org
Thu Jun 23 18:48:02 MST 2005
Adam D. Moss wrote:
> Adam D. Moss wrote:
>
>> GCC isn't always called 'g++', in which case you'll likely end
>> up with a dysfunctional OPCODE/tricollider because the GCC+OPCODE
>> workaround doesn't kick-in.
>>
>> I'll be putting this patch on the trunk soon if there aren't
>> objections.
>
>
> This patch goes on top of the previous, and allows -O2 instead
> of -O1, adding -fno-strict-aliasing instead, since after some
> fiddling it seems that the implicit -fstrict-aliasing in -O2
> is what OPCODE hates. (This implies that OPCODE has an aliasing
> problem that should really be fixed, but this is a very unobtrusive
> workaround.)
D'oh, patching the Makefile is stupid -- it's clobbered
by the configurator. I'll patch it elsewhere.
--
Adam D. Moss - adam at gimp.org
More information about the ODE
mailing list