[gnome-terminal/gnome-43] build: Assert sanity
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-43] build: Assert sanity
- Date: Fri, 2 Sep 2022 14:37:58 +0000 (UTC)
commit 9f0c7a7d23831c94e27888771f495c1f40744541
Author: Christian Persch <chpe src gnome org>
Date: Fri Sep 2 16:36:42 2022 +0200
build: Assert sanity
(cherry picked from commit ddf88475329a7f9943f8d1782434396d4137cca6)
meson.build | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/meson.build b/meson.build
index 0de2a7f2..d2e9f570 100644
--- a/meson.build
+++ b/meson.build
@@ -207,6 +207,14 @@ gtk_version_cxxflags = [
version_cxxflags = glib_version_cxxflags + gtk_version_cxxflags
+# Asserts must not be disabled
+
+assert(get_option('b_ndebug') == 'false', 'assertions may not be disabled')
+
+# LTO very much NOT supported
+
+assert(get_option('b_lto') == false, 'LTO not supported')
+
# Compiler flags
compiler_flags_common = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]