diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ad02fdc9610c8448aea11dbacea9dae8e1219fa..4b15cfe43190b8c69cb8378aa17323eddd94a49c 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 ()