mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01:00
Dedup
This commit is contained in:
parent
8198888bc4
commit
8399bd6b8f
17 changed files with 48 additions and 199 deletions
16
meson-utils/diagnostics/meson.build
Normal file
16
meson-utils/diagnostics/meson.build
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
add_project_arguments(
|
||||
'-Wno-deprecated-declarations',
|
||||
'-Wimplicit-fallthrough',
|
||||
'-Werror=switch',
|
||||
'-Werror=switch-enum',
|
||||
'-Werror=unused-result',
|
||||
'-Wdeprecated-copy',
|
||||
'-Wignored-qualifiers',
|
||||
# Enable assertions in libstdc++ by default. Harmless on libc++. Benchmarked
|
||||
# at ~1% overhead in `nix search`.
|
||||
#
|
||||
# FIXME: remove when we get meson 1.4.0 which will default this to on for us:
|
||||
# https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions
|
||||
'-D_GLIBCXX_ASSERTIONS=1',
|
||||
language : 'cpp',
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue