Skip to content

Commit

Permalink
Update armv7-linux-musleabihf.toolchain.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
fealebenpae authored Aug 9, 2024
1 parent 1456645 commit 1a09784
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/cmake/armv7-linux-musleabihf.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@ set(_TRIPLET "armv7-unknown-linux-musleabihf")
set(_TOOLCHAIN_MD5 e5df7301cf9138ef5cae6160878cab15)
include("${CMAKE_CURRENT_LIST_DIR}/linux.toolchain.base.cmake")
set(REALM_LINUX_LIBC musl)

# Explicitly opt-in to the slower bfd linker over gold, because gold in GCC 11.2 doesn't play nice with R_ARM_REL32 relocations
set(CMAKE_EXE_LINKER_FLAGS_INIT "-fuse-ld=bfd ${CMAKE_EXE_LINKER_FLAGS_INIT}")
set(CMAKE_SHARED_LINKER_FLAGS_INIT "-fuse-ld=bfd ${CMAKE_SHARED_LINKER_FLAGS_INIT}")
set(CMAKE_MODULE_LINKER_FLAGS_INIT "-fuse-ld=bfd ${CMAKE_MODULE_LINKER_FLAGS_INIT}")

0 comments on commit 1a09784

Please sign in to comment.