mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Fix a footgun. In my case, I had a couple of build ("output")
directories sitting around.
rm -rf build-*
Was confused for a bit why a meson.build file was missing.
Probably also helps with autocompletion.
I tried meson-build-support first, but I had to add something like
a nix- prefix, in order to make meson happy. They've reserved the
meson- prefix.
8 lines
258 B
Meson
8 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
|