aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-01-09 06:25:26 -0700
committerTom Tromey <tom@tromey.com>2024-01-09 08:02:31 -0700
commitb7e5a29602143b53267efcd9c8d5ecc78cd5a62f (patch)
treef23e523f0f128262200cf92df59b98f1c3c61db4 /Makefile.def
parentc9fc7f398e8b330ff12ec8a29bfa058b6daf6624 (diff)
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 3f8962c2803..b889020afc6 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -312,6 +312,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 ; };