mirror of
https://github.com/rui314/mold.git
synced 2024-11-09 16:05:58 +03:00
[ELF] Fix build issue on Raspberry Pi 4
We need -latomic on ARMv7.
This commit is contained in:
parent
1a0a242c45
commit
ea779c36a4
@ -154,7 +154,7 @@ if(NOT APPLE AND NOT WIN32 AND NOT MOLD_MOSTLY_STATIC)
|
||||
target_link_libraries(mold PRIVATE OpenSSL::Crypto)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(riscv64|armv6)")
|
||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(riscv64|armv)")
|
||||
target_link_libraries(mold PRIVATE atomic)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user