mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
crunchide: Restore local EM_AARCH64 constant for bootstrapping
Most of the EM_* constants are available in all supported host branches, but EM_AARCH64 was added relatively recently. Add it back to fix building HEAD on 10.x. Noticed by: adrian, jmallett
This commit is contained in:
parent
e845dfe9bf
commit
66137b66a4
1 changed files with 3 additions and 0 deletions
|
|
@ -178,6 +178,9 @@ ELFNAMEEND(check)(int fd, const char *fn)
|
|||
switch (xe16toh(eh.e_machine)) {
|
||||
case EM_386: break;
|
||||
case EM_ALPHA: break;
|
||||
#ifndef EM_AARCH64
|
||||
#define EM_AARCH64 183
|
||||
#endif
|
||||
case EM_AARCH64: break;
|
||||
case EM_ARM: break;
|
||||
case EM_MIPS: break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue