[aisleriot] games: Compile scheme code with -Ono-letrectify
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] games: Compile scheme code with -Ono-letrectify
- Date: Fri, 31 Dec 2021 17:49:48 +0000 (UTC)
commit df91e4fe72f9992dc79375c00a19e6286ee01742
Author: Christian Persch <chpe src gnome org>
Date: Fri Dec 31 18:49:27 2021 +0100
games: Compile scheme code with -Ono-letrectify
Fixes the games that include-and-modify the code of other games, e.g.
spider-three-decks.
Fixes: https://gitlab.gnome.org/GNOME/aisleriot/-/issues/919
games/meson.build | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/games/meson.build b/games/meson.build
index afbd003e..e552beab 100644
--- a/games/meson.build
+++ b/games/meson.build
@@ -119,6 +119,11 @@ guile_warnings = [
'-Wunsupported-warning',
'-Wunused-toplevel',
'-Wunused-variable',
+ '-W1',
+]
+
+guile_flags = [
+ '-Ono-letrectify',
]
# FIXME: this should use files('...') (allowed as per docs),
@@ -131,6 +136,7 @@ guile_compile = [
meson.current_build_dir(),
guile,
'compile',
+ guile_flags,
guile_warnings,
'-o',
'@OUTPUT@',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]