Skip to content

Commit

Permalink
Merge branch 'main' into cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 authored Oct 7, 2024
2 parents 3e8d1da + 64abb77 commit eb33368
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions cmake/mingw-w64-aarch64.clang.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ set(CMAKE_RANLIB aarch64-w64-mingw32-ranlib)
set(CMAKE_STRIP aarch64-w64-mingw32-strip)
set(CMAKE_LINKER aarch64-w64-mingw32-ld)

set(CMAKE_C_FLAGS "-march=armv8.4-a")
set(CMAKE_CXX_FLAGS "-march=armv8.4-a")
set(arch_c_flags "-march=armv8.7-a")

# cache flags
set(CMAKE_C_FLAGS
"${CMAKE_C_FLAGS}"
CACHE STRING "c flags")
set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS}"
CACHE STRING "c++ flags")
set(CMAKE_C_FLAGS_INIT "${arch_c_flags}")
set(CMAKE_CXX_FLAGS_INIT "${arch_c_flags}")

0 comments on commit eb33368

Please sign in to comment.