aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivia Crain <olivia@olivia.dev>2024-10-04 09:58:32 +0000
committerGerrit Code Review <gerrit@localhost>2024-10-04 09:58:32 +0000
commit8f300fbd82f16baa233d7232485f16cbbae851d5 (patch)
tree0dfcd4d69714eff55655ea349a3ab4a5d29cfea8
parent775292766025380d04004e42fefbdb8ca40b3fa3 (diff)
parent4780dd6bc4f33a5340934ac3ff1c47ee682ca395 (diff)
Merge "build: let meson add compiler flags for libstdc++ assertions" into main
-rw-r--r--meson.build6
1 files changed, 0 insertions, 6 deletions
diff --git a/meson.build b/meson.build
index ea2050b6b..a8c6b9621 100644
--- a/meson.build
+++ b/meson.build
@@ -493,12 +493,6 @@ add_project_arguments(
'-Wdeprecated-copy',
'-Wignored-qualifiers',
'-Werror=suggest-override',
- # 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',
)