From owner-freebsd-current Tue Feb 20 0: 6:55 2001 Delivered-To: freebsd-current@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id 4694737B401 for ; Tue, 20 Feb 2001 00:06:51 -0800 (PST) (envelope-from nnd@wint.itfs.nsk.su) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.11.2/8.11.1) id f1K86m800310; Tue, 20 Feb 2001 14:06:48 +0600 (NOVT) (envelope-from nnd) Date: Tue, 20 Feb 2001 14:06:48 +0600 (NOVT) Message-Id: <200102200806.f1K86m800310@wint.itfs.nsk.su> From: nnd@mail.nsk.ru To: current@freebsd.org Subject: Re: cvs commit: src/share/mk sys.mk In-Reply-To: <20010219235348.A77584@mollari.cthul.hu> User-Agent: tin/1.5.8-20010204 ("Paradise Regained") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kris Kennaway wrote: > > On Tue, Feb 20, 2001 at 10:02:57AM +0600, nnd@mail.nsk.ru wrote: >> >> Kris Kennaway wrote: >> > >> > Modified files: >> > share/mk sys.mk >> > Log: >> > Remove bogus setting of MACHINE_CPU here. There is no need for it. >> >> But there MUST be at least one setting for >> MACHINE_CPU for 'make buildworld' to succeed before new 'make' >> with this variable is in place. > > No, MACHINE_CPU is optional. If you don't have it set, you get the > vanilla C code. So if you don't have it set at all, you'll get C code > in OpenSSL as it's always been, then the next time you are using the > updated make(1) and it will set it to i386, which will get you the > i386 asm code. > > Or you can just set MACHINE_CPU immediately and it will build asm code > on the first pass. MACHINE_CPU variable MUST be DEFINED for current 'Makefile' in the 'usr/src/secure/libcrypto' be parsed by the 'make' without internall definition of that variable. (It stops at the first "${MACHINE_CPU:Mi686}" construct in the line 62). N.Dudorov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message