build: Update to support multi-arch builds.
This commit is contained in:
parent
0e325255f3
commit
a8848cce43
25 changed files with 114 additions and 66 deletions
13
src/common/arch.h
Normal file
13
src/common/arch.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
// Copyright 2023 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <boost/predef.h>
|
||||
|
||||
#define CITRA_ARCH(NAME) (CITRA_ARCH_##NAME)
|
||||
|
||||
#define CITRA_ARCH_x86_64 BOOST_ARCH_X86_64
|
||||
#define CITRA_ARCH_arm64 \
|
||||
(BOOST_ARCH_ARM >= BOOST_VERSION_NUMBER(8, 0, 0) && BOOST_ARCH_WORD_BITS == 64)
|
Loading…
Add table
Add a link
Reference in a new issue