diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-28 21:26:48 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-07-01 18:05:40 -0400 |
commit | 2fe36d31f96519ea5ef988d85df1310bc177b5fa (patch) | |
tree | d75694894bf0749d04acee940a8168cc7b85884d /opcodes/Makefile.in | |
parent | f375d32b35cef9813410107430963d51600d6896 (diff) | |
download | binutils-2fe36d31f96519ea5ef988d85df1310bc177b5fa.zip binutils-2fe36d31f96519ea5ef988d85df1310bc177b5fa.tar.gz binutils-2fe36d31f96519ea5ef988d85df1310bc177b5fa.tar.bz2 |
cgen: split GUILE setting out
This makes it easier to override to point to an older version of guile.
The current cgen code doesn't work with guile-2, so need to point to an
older guile-1.8.
Diffstat (limited to 'opcodes/Makefile.in')
-rw-r--r-- | opcodes/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in index 23a52bc..42c15f0 100644 --- a/opcodes/Makefile.in +++ b/opcodes/Makefile.in @@ -722,7 +722,8 @@ CLEANFILES = \ CGENDIR = @cgendir@ CPUDIR = $(srcdir)/../cpu -CGEN = "`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi` -l ${cgendir}/guile.scm -s" +GUILE = `if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi` +CGEN = "$(GUILE) -l ${cgendir}/guile.scm -s" CGENFLAGS = -v CGENDEPS = \ $(CGENDIR)/desc.scm $(CGENDIR)/desc-cpu.scm \ |