mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 04:39:26 -05:00
Interpret x86_64 as x86-64 for architecture
This commit is contained in:
parent
2cd4d7dd20
commit
8623492150
@ -211,7 +211,11 @@ else()
|
|||||||
if(ARCH STREQUAL "default")
|
if(ARCH STREQUAL "default")
|
||||||
set(ARCH_FLAG "")
|
set(ARCH_FLAG "")
|
||||||
else()
|
else()
|
||||||
set(ARCH_FLAG "-march=${ARCH}")
|
if(ARCH STREQUAL "x86_64")
|
||||||
|
set(ARCH_FLAG "-march=x86-64")
|
||||||
|
else()
|
||||||
|
set(ARCH_FLAG "-march=${ARCH}")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=strict-aliasing -Wno-error=type-limits -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized")
|
set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=strict-aliasing -Wno-error=type-limits -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized")
|
||||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||||
|
Loading…
Reference in New Issue
Block a user