problem when compiling sdl

Auke Kok sofar at foo-projects.org
Fri Sep 30 18:03:40 UTC 2005


Eric Sandall wrote:

> Wouldn't it also work (perhaps better) to just remove the offending
> flags?
>
> e.g.
> export CFLAGS=${CFLAGS/-fforce-addr/}
>
> (and do that for CXXFLAGS if needed as well)? This way the user still
> gets most of the optimizations they want, except for ones that break
> it.


yes, but,

the official lecture in lunar still is: -fforce-addr is considered an
_unsafe_ optimization. If you use it, you may not complain about it on
the mailinglist. If stuff breaks, that's your own fault.

this whole discussion therefore is useless - just use safe
optimizations. (if it still breaks then, file a bugreport immediately).

Auke





More information about the Lunar mailing list