vere: only define actively used architecture strings

This commit is contained in:
Joe Bryan 2022-05-23 22:10:36 -04:00
parent ed234bfd41
commit 05b817a207
2 changed files with 7 additions and 2 deletions

View File

@ -109,7 +109,8 @@
# if defined(U3_OS_linux)
# ifdef __LP64__
# ifdef U3_CPU_aarch64
# define U3_OS_ARCH "aarch64-linux"
// XX not yet
//# define U3_OS_ARCH "aarch64-linux"
# else
# define U3_OS_ARCH "x86_64-linux"
# endif
@ -119,7 +120,8 @@
# elif defined(U3_OS_osx)
# ifdef __LP64__
# ifdef U3_CPU_aarch64
# define U3_OS_ARCH "aarch64-darwin"
// XX not yet
//# define U3_OS_ARCH "aarch64-darwin"
# else
# define U3_OS_ARCH "x86_64-darwin"
# endif

View File

@ -1377,6 +1377,9 @@ _king_do_upgrade(c3_c* pac_c, c3_c* ver_c)
u3l_log("vere: upgrade succeeded\r\n");
// XX print restart instructions
}
#else
// XX support arch argument
u3l_log("vere: arch required\r\n");
#endif
}