aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-12-28 14:08:39 -0700
committerTom Tromey <tom@tromey.com>2024-01-09 08:04:56 -0700
commitd006ec41c448d9f4a84df50391e87cbf0aa8c152 (patch)
tree3742e210e827eb4653f54b10472dcefe8ab62390 /Makefile.def
parentf68c9d09a395ad4bb48661401475ba7f8e8b8a2b (diff)
downloadgdb-d006ec41c448d9f4a84df50391e87cbf0aa8c152.zip
gdb-d006ec41c448d9f4a84df50391e87cbf0aa8c152.tar.gz
gdb-d006ec41c448d9f4a84df50391e87cbf0aa8c152.tar.bz2
Pass GUILE down to subdirectories
When I enable cgen rebuilding in the binutils-gdb tree, the default is to run cgen using 'guile'. However, on my host, guile is guile 2.2, which doesn't work for me -- I have to use guile3.0. This patch arranges to pass "GUILE" down to subdirectories, so I can use 'make GUILE=guile3.0'. * Makefile.in: Rebuild. * Makefile.tpl (BASE_EXPORTS): Add GUILE. (GUILE): New variable. * Makefile.def (flags_to_pass): Add GUILE.
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def
index 662e50f..792919e 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -310,6 +310,7 @@ flags_to_pass = { flag= GNATBIND ; };
flags_to_pass = { flag= GNATMAKE ; };
flags_to_pass = { flag= GDC ; };
flags_to_pass = { flag= GDCFLAGS ; };
+flags_to_pass = { flag= GUILE ; };
// Target tools
flags_to_pass = { flag= AR_FOR_TARGET ; };