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
|
@ -2,6 +2,9 @@
|
|||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "common/arch.h"
|
||||
#if CITRA_ARCH(arm64)
|
||||
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
@ -110,3 +113,5 @@ const CPUCaps& GetCPUCaps() {
|
|||
}
|
||||
|
||||
} // namespace Common
|
||||
|
||||
#endif // CITRA_ARCH(arm64)
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "common/arch.h"
|
||||
#if CITRA_ARCH(arm64)
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace Common {
|
||||
|
@ -29,3 +32,5 @@ struct CPUCaps {
|
|||
const CPUCaps& GetCPUCaps();
|
||||
|
||||
} // namespace Common
|
||||
|
||||
#endif // CITRA_ARCH(arm64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue