summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorIlya Kurdyukov <59548320+ilyakurdyukov@users.noreply.github.com>2021-06-09 19:27:24 +0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-06-11 13:11:20 +0200
commit5cfb7f15e32bc16ec4cca82b9c094bb886456e4c (patch)
treedb5895ec70ddb7bef2afc0b4e9f516c65708107b /cmake
parent4a0907e3f7684055426b1d52a6431ec4d3f5c256 (diff)
fix: unterminated #elif in detect-arch.c
``` $ gcc detect-arch.c detect-arch.c:8:6: error: #error archfound x86_64 #error archfound x86_64 ^~~~~ detect-arch.c:7:0: error: unterminated #elif #if defined(__x86_64__) || defined(_M_X64) ```
Diffstat (limited to 'cmake')
-rw-r--r--cmake/detect-arch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/detect-arch.c b/cmake/detect-arch.c
index c8bad4b..8cae4eb 100644
--- a/cmake/detect-arch.c
+++ b/cmake/detect-arch.c
@@ -99,6 +99,7 @@
#error archfound riscv64
#elif __riscv_xlen == 32
#error archfound riscv32
+ #endif
// return 'unrecognized' if we do not know what architecture this is
#else