[gnome-terminal] build: Assert sanity
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] build: Assert sanity
- Date: Fri, 2 Sep 2022 14:37:16 +0000 (UTC)
commit ddf88475329a7f9943f8d1782434396d4137cca6
Author: Christian Persch <chpe src gnome org>
Date: Fri Sep 2 16:36:42 2022 +0200
build: Assert sanity
meson.build | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/meson.build b/meson.build
index b8b1e4f3..24a1a990 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]