[aisleriot] build: Assert sanity
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] build: Assert sanity
- Date: Sat, 3 Sep 2022 16:59:09 +0000 (UTC)
commit 2e045583cb44bce59218650abd26c5c65d41920d
Author: Christian Persch <chpe src gnome org>
Date: Sat Sep 3 18:58:58 2022 +0200
build: Assert sanity
meson.build | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/meson.build b/meson.build
index 43fba54f..2f59d3bd 100644
--- a/meson.build
+++ b/meson.build
@@ -142,6 +142,14 @@ endif
config_h.set_quoted('AR_CARD_THEME_DEFAULT_FORMAT_STRING', default_theme_format)
+# 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]