1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 23:51:00 +01:00

Merge pull request #13961 from NyCodeGHG/push-prlsssvmxwvl

meson: link to libatomic on powerpc-linux
This commit is contained in:
Eelco Dolstra 2025-09-10 19:22:54 +02:00 committed by GitHub
commit 3898a7343a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,6 @@
# This is needed for std::atomic on some platforms # This is needed for std::atomic on some platforms
# We did not manage to test this reliably on all platforms, so we hardcode # We did not manage to test this reliably on all platforms, so we hardcode
# it for now. # it for now.
if host_machine.cpu_family() == 'arm' if host_machine.cpu_family() in [ 'arm', 'ppc' ]
deps_other += cxx.find_library('atomic') deps_other += cxx.find_library('atomic')
endif endif