Subject: Re: Turning off optimization on selected files.
To: Eduardo Horvath <>
From: Simon J. Gerraty <>
List: tech-kern
Date: 06/09/2000 17:00:22
>If I know that a small set of MI source files will break the compiler if
>compiled with optimization on, is there some easy way to turn it off in,
>say, sys/${ARCH}/conf/Makefile.${ARCH}?

Yes.  That's one of the reasons I added ODE's :U modifier. should not have


I ususall make that
DBG?= -O

but anyway, if you made it something like:


you could have


and -O0 would be used when .TARGET is fred.o

Change it around to suit your tastes, COPT_fred.o might look better.