From owner-cvs-all Wed Feb 21 10:28:27 2001 Delivered-To: cvs-all@freebsd.org Received: from privatecube.privatelabs.com (privatecube.privatelabs.com [63.114.185.254]) by hub.freebsd.org (Postfix) with ESMTP id 4789C37B503; Wed, 21 Feb 2001 10:28:16 -0800 (PST) (envelope-from mi@misha.privatelabs.com) Received: from misha.privatelabs.com (root@misha.plten [10.0.0.106]) by privatecube.privatelabs.com (8.9.3/8.9.2) with ESMTP id NAA20130; Wed, 21 Feb 2001 13:48:30 -0500 Received: from misha.privatelabs.com (mi@localhost [127.0.0.1]) by misha.privatelabs.com (8.11.1/8.11.1) with ESMTP id f1LIRuv32516; Wed, 21 Feb 2001 13:27:58 -0500 (EST) (envelope-from mi@misha.privatelabs.com) Message-Id: <200102211827.f1LIRuv32516@misha.privatelabs.com> Date: Wed, 21 Feb 2001 13:27:54 -0500 (EST) From: mi@aldan.algebra.com Subject: Re: cvs commit: src/share/mk sys.mk To: Bruce Evans Cc: Warner Losh , Kris Kennaway , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 21 Feb, Bruce Evans wrote: = On Tue, 20 Feb 2001, Warner Losh wrote: = = > <200102200837.f1K8bpj89576@freefall.freebsd.org> Kris Kennaway writes: = > : We now set up the reasonable default for i386 and alpha here -- = > : given this it probably makes sense to remove the corresponding = > : code from make(1). = > = > Probably not. We really do not want to pollute sys.mk with any more = > variables than we absolutely have to. It is included for all = > Makefiles on the system, not just the ones to build the system. = > Adding things there can cause problems elsewhere. = = But polluting make(1) is almost equivalent to polluting sys.mk. The = pollution is just easier to implement and harder to remove in make(1). = = I have changed my mind a bit about this. MACHINE_CPU is not (yet?) = nearly as fundamental as the other MACHINE_* variables. It is = currently just a build option for libcrypto, so it could be handled = like other build options. BTW, may be -mcpu=${MACHINE_CPU} can be added to the default CFLAGS now? And a comment, that changing -mcpu to -march will, probably, be even better, but will prevent the binaries from being usable on earlier CPUs. -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message