~sircmpwn/apk-tools

52f1c8b97b8adce9d579767fbefeeebc27389de8 — Drew DeVault 3 years ago e2b4bde master
Add riscv64 to apk_defines.h
1 files changed, 4 insertions(+), 0 deletions(-)

M src/apk_defines.h
M src/apk_defines.h => src/apk_defines.h +4 -0
@@ 113,6 113,10 @@ extern char **apk_argv;
#define APK_DEFAULT_ARCH	"mips"
#elif defined(__mips__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define APK_DEFAULT_ARCH	"mipsel"
#elif defined(__riscv) && __riscv_xlen == 32
#define APK_DEFAULT_ARCH	"riscv32"
#elif defined(__riscv) && __riscv_xlen == 64
#define APK_DEFAULT_ARCH	"riscv64"
#else
#error APK_DEFAULT_ARCH not detected for this architecture
#endif