From 39b610269a8288bb4c57b21f0f5416f0373607d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 18 Apr 2024 20:56:21 +0200 Subject: [PATCH] Native: Set CMAKE_ASM_COMPILER in all toolchain files. --- build/cmake/aarch64-linux-gnu.cmake | 1 + build/cmake/arm-linux-gnueabihf.cmake | 1 + build/cmake/x86_64-linux-gnu.cmake | 1 + 3 files changed, 3 insertions(+) diff --git a/build/cmake/aarch64-linux-gnu.cmake b/build/cmake/aarch64-linux-gnu.cmake index d3a20e4a38..eae71b5068 100644 --- a/build/cmake/aarch64-linux-gnu.cmake +++ b/build/cmake/aarch64-linux-gnu.cmake @@ -1,5 +1,6 @@ set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR aarch64) +set(CMAKE_ASM_COMPILER "/usr/bin/aarch64-linux-gnu-as") set(CMAKE_C_COMPILER "/usr/bin/aarch64-linux-gnu-gcc") set(CMAKE_CXX_COMPILER "/usr/bin/aarch64-linux-gnu-g++") set(CMAKE_LINKER "/usr/bin/aarch64-linux-gnu-ld") diff --git a/build/cmake/arm-linux-gnueabihf.cmake b/build/cmake/arm-linux-gnueabihf.cmake index 491844cae8..9bbd177e1e 100644 --- a/build/cmake/arm-linux-gnueabihf.cmake +++ b/build/cmake/arm-linux-gnueabihf.cmake @@ -1,5 +1,6 @@ set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR armv7l) +set(CMAKE_ASM_COMPILER "/usr/bin/arm-linux-gnueabihf-as") set(CMAKE_C_COMPILER "/usr/bin/arm-linux-gnueabihf-gcc") set(CMAKE_CXX_COMPILER "/usr/bin/arm-linux-gnueabihf-g++") set(CMAKE_LINKER "/usr/bin/arm-linux-gnueabihf-ld") diff --git a/build/cmake/x86_64-linux-gnu.cmake b/build/cmake/x86_64-linux-gnu.cmake index 73dd97caf9..84f12dcb6e 100644 --- a/build/cmake/x86_64-linux-gnu.cmake +++ b/build/cmake/x86_64-linux-gnu.cmake @@ -1,5 +1,6 @@ set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR x86_64) +set(CMAKE_ASM_COMPILER "/usr/bin/x86_64-linux-gnu-as") set(CMAKE_C_COMPILER "/usr/bin/x86_64-linux-gnu-gcc") set(CMAKE_CXX_COMPILER "/usr/bin/x86_64-linux-gnu-g++") set(CMAKE_LINKER "/usr/bin/x86_64-linux-gnu-ld")