diff options
Diffstat (limited to 'src/build-data/detect_arch.cpp')
-rw-r--r-- | src/build-data/detect_arch.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build-data/detect_arch.cpp b/src/build-data/detect_arch.cpp index f5e6ecd58..028e39b3b 100644 --- a/src/build-data/detect_arch.cpp +++ b/src/build-data/detect_arch.cpp @@ -57,6 +57,14 @@ #elif defined(__s390__) S390 +#elif defined(__riscv) + + #if defined(__LP64__) + RISCV64 + #else + RISCV32 + #endif + #else UNKNOWN |