Fix compile warning, mostly struct/class inconsistency.
This commit is contained in:
parent
66fd532ee6
commit
6f5d175d12
7 changed files with 24 additions and 18 deletions
|
@ -52,6 +52,10 @@ if (WITH_RANDOMX)
|
|||
# cheat because cmake and ccache hate each other
|
||||
set_property(SOURCE src/crypto/randomx/jit_compiler_x86_static.S PROPERTY LANGUAGE C)
|
||||
endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES Clang)
|
||||
set_source_files_properties(src/crypto/randomx/jit_compiler_x86.cpp PROPERTIES COMPILE_FLAGS -Wno-unused-const-variable)
|
||||
endif()
|
||||
else()
|
||||
remove_definitions(/DXMRIG_ALGO_RANDOMX)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue