Fix compilation on macOS aarch64 (#6152)

* Fix compilation on macOS aarch64
- Bumps rpmalloc submodule to fix assembly compilation, fix `rpmalloc_thread_finalize()` API change
- Adds aarch64 "/opt" Homebrew prefix (reuse `APPLE_PREFIX`)
* Add detection for non-Intel architectures
This commit is contained in:
Tres Finocchiaro
2021-09-22 09:28:16 -04:00
committed by GitHub
parent 8a9a2fae62
commit 131b273894
7 changed files with 92 additions and 19 deletions

View File

@@ -16,6 +16,22 @@
#define MACHINE "x86_64"
#endif
#ifdef LMMS_HOST_ARM32
#define MACHINE "arm32"
#endif
#ifdef LMMS_HOST_ARM64
#define MACHINE "arm64"
#endif
#ifdef LMMS_HOST_RISCV32
#define MACHINE "riscv32"
#endif
#ifdef LMMS_HOST_RISCV64
#define MACHINE "riscv64"
#endif
#ifndef MACHINE
#define MACHINE "unknown processor"
#endif