mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
9 lines
258 B
Meson
9 lines
258 B
Meson
|
|
||
|
# 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
|