Date: Fri, 27 Oct 2000 19:29:30 +1300 (NZDT) From: Juha Saarinen <juha@saarinen.org> To: Donn Miller <dmmiller@cvzoom.net> Cc: "stable@FreeBSD.ORG" <stable@FreeBSD.ORG>, "freebsd-stable@FreeBSD.ORG" <freebsd-stable@FreeBSD.ORG> Subject: Re: "Malloc type lacks magic" show-stopper solved Message-ID: <Pine.LNX.4.21.0010271926470.16125-100000@vimfuego.saarinen.org> In-Reply-To: <39F91FA9.F3FC1B22@cvzoom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> I wouldn't do that. I'd just hard-code -O in the Makefile used to > compile the kernel. Or, you could put a perl or sed script in > /sys/i386/* that does something like s/-O[12s]/-O/, so that any flags > specified, such as -O2, -O3, or -Os are converted to -O. I'd keep the > ability to do something like -march=ARCH, though, as that doesn't cause > the headaches that -O3 et. al. do. More importantly, it would be nice to have it spelt out that using certain optflags just ain't gonna work. Just put in a few lines in /etc/default/make.conf to discourage people from using anything apart from -O (or whatever). That's the easiest, surely? -- Juha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0010271926470.16125-100000>