1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Note 7.0 was the first version that FreeBSD/pc98 had a MACHINE of pc98

instead of i386.
This commit is contained in:
Warner Losh 2008-03-04 06:08:59 +00:00
parent db18a02be9
commit 51f0bfca68
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176786

View File

@ -932,14 +932,13 @@ main(int argc, char **argv)
#endif
/*
* FreeBSD/pc98 kernel used to set the utsname.machine to
* "i386", and MACHINE was defined as "i386", so it could
* not be distinguished from FreeBSD/i386. Therefore, we
* had to check machine.ispc98 and adjust the MACHINE
* variable.
* NOTE: The code is still here to be able to compile new
* make binary on old FreeBSD/pc98 systems, and have the
* MACHINE variable set properly.
* Prior to 7.0, FreeBSD/pc98 kernel used to set the
* utsname.machine to "i386", and MACHINE was defined as
* "i386", so it could not be distinguished from FreeBSD/i386.
* Therefore, we had to check machine.ispc98 and adjust the
* MACHINE variable. NOTE: The code is still here to be able
* to compile new make binary on old FreeBSD/pc98 systems, and
* have the MACHINE variable set properly.
*/
if ((machine = getenv("MACHINE")) == NULL) {
int ispc98;