Skip to content

Commit

Permalink
Moved to posix compiler in Windows version
Browse files Browse the repository at this point in the history
  • Loading branch information
Danixu committed Apr 15, 2024
1 parent d72b7b3 commit 7c43c4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compile-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-24.04
runs-on: ubuntu-22.04
permissions:
contents: write

Expand Down
4 changes: 2 additions & 2 deletions tc-win64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7c43c4e

Please sign in to comment.