mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
Unbound is now a submodule. Adapt depends for this.
Fix builds for native linux and windows The architecture flag was set incorrectly. It needs to be set only when compiling arm6.
This commit is contained in:
parent
d6b9bdd322
commit
5f7da005a3
@ -487,7 +487,7 @@ if(MSVC)
|
|||||||
include_directories(SYSTEM src/platform/msc)
|
include_directories(SYSTEM src/platform/msc)
|
||||||
else()
|
else()
|
||||||
include(TestCXXAcceptsFlag)
|
include(TestCXXAcceptsFlag)
|
||||||
if (NOT DEPENDS)
|
if (NOT ARM6)
|
||||||
set(ARCH native CACHE STRING "CPU to build for: -march value or 'default' to not pass -march at all")
|
set(ARCH native CACHE STRING "CPU to build for: -march value or 'default' to not pass -march at all")
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "Building on ${CMAKE_SYSTEM_PROCESSOR} for ${ARCH}")
|
message(STATUS "Building on ${CMAKE_SYSTEM_PROCESSOR} for ${ARCH}")
|
||||||
|
@ -65,8 +65,6 @@ else()
|
|||||||
SET(CMAKE_CXX_COMPILER @CXX@)
|
SET(CMAKE_CXX_COMPILER @CXX@)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(ARCH @arch@)
|
|
||||||
|
|
||||||
if(ARCH STREQUAL "arm")
|
if(ARCH STREQUAL "arm")
|
||||||
set(ARCH "armv6zk")
|
set(ARCH "armv6zk")
|
||||||
set(ARMID "armv6zk")
|
set(ARMID "armv6zk")
|
||||||
|
Loading…
Reference in New Issue
Block a user