File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ set(CMAKE_ASM_COMPILER_TARGET ${CLANG_TARGET_TRIPLE})
17
17
# Don't run the linker on compiler check
18
18
set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY )
19
19
20
- set (CMAKE_C_FLAGS "-march=rv64gcv --gcc-toolchain=${RISCV_GCC_INSTALL_ROOT} -w ${CMAKE_C_FLAGS} " )
21
- set (CMAKE_CXX_FLAGS "-march=rv64gcv --gcc-toolchain=${RISCV_GCC_INSTALL_ROOT} -w ${CXX_FLAGS} " )
20
+ set (CMAKE_C_FLAGS "-march=rv64gcv0p9 -menable-experimental-extensions --gcc-toolchain=${RISCV_GCC_INSTALL_ROOT} -w ${CMAKE_C_FLAGS} " )
21
+ set (CMAKE_CXX_FLAGS "-march=rv64gcv0p9 -menable-experimental-extensions --gcc-toolchain=${RISCV_GCC_INSTALL_ROOT} -w ${CXX_FLAGS} " )
22
22
23
23
set (CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT} )
24
24
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER )
You can’t perform that action at this time.
0 commit comments