mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
Fix ARM builds with clang.
This commit is contained in:
parent
5f113a47cf
commit
3337f5ac43
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ if (WITH_CN_GPU AND CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
if (XMRIG_ARM)
|
if (XMRIG_ARM)
|
||||||
set(CN_GPU_SOURCES src/crypto/cn_gpu_arm.cpp)
|
set(CN_GPU_SOURCES src/crypto/cn_gpu_arm.cpp)
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
if (CMAKE_CXX_COMPILER_ID MATCHES GNU OR CMAKE_CXX_COMPILER_ID MATCHES Clang)
|
||||||
set_source_files_properties(src/crypto/cn_gpu_arm.cpp PROPERTIES COMPILE_FLAGS "-O3")
|
set_source_files_properties(src/crypto/cn_gpu_arm.cpp PROPERTIES COMPILE_FLAGS "-O3")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in a new issue