vcpkg/scripts/toolchains
fwcd 3f55ea9fce
[linux] Fix compiler in native ARM host builds (#38113)
#35084 introduced a regression for native ARM Linux builds where the
toolchain would mistakenly try to reference a cross-compiler (e.g.
`aarch64-linux-gnu-gcc`) despite building natively because vcpkg spells
the architecture differently from what the system reports (`arm64` vs.
`aarch64`).

This fixes the issue by checking whether the
`CMAKE_HOST_SYSTEM_PROCESSOR` matches the target (in CMake's spelling of
the architecture).

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-04-19 15:11:15 -04:00
..
android.cmake Add CMAKE_MODULE_LINKER_FLAGS to toolchain scripts. (#32841) 2023-08-03 12:14:01 -07:00
freebsd.cmake Copy-Paste the CMAKE_SYSTEM_PROCESSOR definition code from osx to the BSDs (#37692) 2024-03-25 15:11:08 -07:00
ios.cmake Add CMAKE_MODULE_LINKER_FLAGS to toolchain scripts. (#32841) 2023-08-03 12:14:01 -07:00
linux.cmake [linux] Fix compiler in native ARM host builds (#38113) 2024-04-19 15:11:15 -04:00
mingw.cmake Add CMAKE_MODULE_LINKER_FLAGS to toolchain scripts. (#32841) 2023-08-03 12:14:01 -07:00
openbsd.cmake Copy-Paste the CMAKE_SYSTEM_PROCESSOR definition code from osx to the BSDs (#37692) 2024-03-25 15:11:08 -07:00
osx.cmake Add CMAKE_MODULE_LINKER_FLAGS to toolchain scripts. (#32841) 2023-08-03 12:14:01 -07:00
uwp.cmake Add CMAKE_MODULE_LINKER_FLAGS to toolchain scripts. (#32841) 2023-08-03 12:14:01 -07:00
windows.cmake Add CMAKE_MODULE_LINKER_FLAGS to toolchain scripts. (#32841) 2023-08-03 12:14:01 -07:00
xbox.cmake Add CMAKE_MODULE_LINKER_FLAGS to toolchain scripts. (#32841) 2023-08-03 12:14:01 -07:00