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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user