mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-17 21:32:00 +01:00
Merge 3d90c00cf72a2c7eeff6f210e63c196f9e69e869 into 5f4422d68dc3530c353af1f87499de1c864b60ad
This commit is contained in:
commit
a15e717c5f
@ -203,6 +203,7 @@ endif
|
|||||||
$(host_prefix)/toolchain.cmake : toolchain.cmake.in $(host_prefix)/.stamp_$(final_build_id)
|
$(host_prefix)/toolchain.cmake : toolchain.cmake.in $(host_prefix)/.stamp_$(final_build_id)
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
sed -e 's|@depends_crosscompiling@|$(crosscompiling)|' \
|
sed -e 's|@depends_crosscompiling@|$(crosscompiling)|' \
|
||||||
|
-e 's|@host@|$(host)|' \
|
||||||
-e 's|@host_system_name@|$($(host_os)_cmake_system_name)|' \
|
-e 's|@host_system_name@|$($(host_os)_cmake_system_name)|' \
|
||||||
-e 's|@host_system_version@|$($(host_os)_cmake_system_version)|' \
|
-e 's|@host_system_version@|$($(host_os)_cmake_system_version)|' \
|
||||||
-e 's|@host_arch@|$(host_arch)|' \
|
-e 's|@host_arch@|$(host_arch)|' \
|
||||||
|
@ -13,6 +13,10 @@ if(@depends_crosscompiling@)
|
|||||||
set(CMAKE_SYSTEM_NAME @host_system_name@)
|
set(CMAKE_SYSTEM_NAME @host_system_name@)
|
||||||
set(CMAKE_SYSTEM_VERSION @host_system_version@)
|
set(CMAKE_SYSTEM_VERSION @host_system_version@)
|
||||||
set(CMAKE_SYSTEM_PROCESSOR @host_arch@)
|
set(CMAKE_SYSTEM_PROCESSOR @host_arch@)
|
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_TARGET @host@)
|
||||||
|
set(CMAKE_CXX_COMPILER_TARGET @host@)
|
||||||
|
set(CMAKE_OBJCXX_COMPILER_TARGET @host@)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED CMAKE_C_FLAGS_INIT)
|
if(NOT DEFINED CMAKE_C_FLAGS_INIT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user