mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Note 7.0 was the first version that FreeBSD/pc98 had a MACHINE of pc98
instead of i386.
This commit is contained in:
parent
db18a02be9
commit
51f0bfca68
1 changed files with 7 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue