From f3c3eba99ef3bf59fdfdd9fa387ee6e7029be9a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=90=89?= Date: Sun, 22 Sep 2024 12:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8Driscv64=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 黄吉 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ad02fd..4b15cfe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,6 +129,8 @@ if (OS_ARCH STREQUAL "aarch64") endif (USE_H1620) add_compile_options(-mtune=cortex-a72 -fsigned-char -g -ggdb3 -march=armv8-a+crc -funwind-tables) +elseif (OS_ARCH STREQUAL "riscv64") + add_compile_options(-march=rv64g) else () add_compile_options(-msse4.2 ) endif () -- Gitee