Subject: Re: which to use of COPTS, CFLAGS, ..
To: None <netbsd-users@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-users
Date: 06/12/2002 12:17:51
> performance on sun4m systems, and after a few iterations i
> ended up with "COPTS+=-O2 -mcpu=supersparc" in /etc/mk.conf

I use this:

.if ${CFLAGS:N-pipe}
CFLAGS += -pipe
.endif
.if ${MACHINE_ARCH} == "sparc"
.if ${CFLAGS:N-mcpu}
CFLAGS += -mcpu=v8 -mtune=supersparc
.endif
.endif
11~
Martin