1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

refact: Extract build-utils-meson/libatomic

This commit is contained in:
Robert Hensing 2024-11-06 22:47:09 +01:00
parent 8f553f6eef
commit ffc1b30f50
2 changed files with 9 additions and 8 deletions

View file

@ -0,0 +1,8 @@
# Check if -latomic is needed
# This is needed for std::atomic on some platforms
# We did not manage to test this reliably on all platforms, so we hardcode
# it for now.
if host_machine.cpu_family() == 'arm'
deps_other += cxx.find_library('atomic')
endif