diff --git a/.github/workflows/compile-release.yml b/.github/workflows/compile-release.yml index 046e318..4ab48d8 100644 --- a/.github/workflows/compile-release.yml +++ b/.github/workflows/compile-release.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-24.04 + runs-on: ubuntu-22.04 permissions: contents: write diff --git a/tc-win64.cmake b/tc-win64.cmake index 061b6bd..1f36bd0 100644 --- a/tc-win64.cmake +++ b/tc-win64.cmake @@ -11,9 +11,9 @@ execute_process( get_filename_component(ARM_TOOLCHAIN_DIR ${BINUTILS_PATH} DIRECTORY) -set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}gcc) +set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}gcc-posix) set(CMAKE_ASM_COMPILER ${CMAKE_C_COMPILER}) -set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}g++) +set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}g++-posix) set(CMAKE_C_COMPILER_WORKS 1) set(CMAKE_CXX_COMPILER_WORKS 1)