mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
Instead of specifying env variables all the time we can instead embed the __asan_default_options symbol in all executables / shared objects. This reduces code duplication.
13 lines
278 B
Meson
13 lines
278 B
Meson
cxx = meson.get_compiler('cpp')
|
|
|
|
deps_other = []
|
|
subdir('nix-meson-build-support/common/asan-options')
|
|
|
|
libstoreconsumer_tester = executable(
|
|
'test-libstoreconsumer',
|
|
'main.cc',
|
|
dependencies : deps_other + [
|
|
dependency('nix-store'),
|
|
],
|
|
build_by_default : false,
|
|
)
|