thus Charles Swiger spake:
> On May 4, 2005, at 1:14 PM, Timo Schoeler wrote:
>
>> however, is there a way to kill any O* statements when building the
>> package? i tried sth. like CFLAGS-=-O* and COPTS-=-O* in /etc/mk.conf,
>> but this didn't work (there were still -O2's)...
>>
>> any idea?
>
>
> If you put a -O0 into CFLAGS, this will disable optimization even if a
> -O, -O2, or whatever appears earlier in the compilation line. However,
> if the software being built appends it's own flags to the value of
> CFLAGS, then you're going to have to patch it yourself.
okay, this seems to work -- i hope the binary does, too ;)
cheers,
--
Timo Schoeler | http://macfinity.net/~tis | timo.schoeler@macfinity.net
//macfinity -- finest IT services | http://macfinity.net
Key fingerprint = F844 51BE C22C F6BD 1196 90B2 EF68 C851 6E12 2D8A
There are 10 types of people in the world. Those who understand binary
and those who don't.