Subject: how to kill any O* when compiling
To: None <netbsd-help@NetBSD.org>
From: Timo Schoeler <timo.schoeler@macfinity.net>
List: tech-pkg
Date: 05/04/2005 19:14:06
hi,

i have lots of (runtime only) troubles with db4 on macppc and sparc64.

for macppc there's a statement in hacks.mk that kills any O* statements
if gcc is <3.3 (although even later gccs seem to cause problems, i'm
testing this).

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?

thanks & regards,

-- 
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.