public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim lm32: Use a known-good shell with genmloop.sh.
@ 2021-04-15 23:21 John Baldwin
  0 siblings, 0 replies; only message in thread
From: John Baldwin @ 2021-04-15 23:21 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=599a6ff01e1f5eecf9748aee482e1e2adb68e539

commit 599a6ff01e1f5eecf9748aee482e1e2adb68e539
Author: John Baldwin <jhb@FreeBSD.org>
Date:   Thu Apr 15 16:03:15 2021 -0700

    sim lm32: Use a known-good shell with genmloop.sh.
    
    Explicitly use a known-good shell found by autoconf for executing
    additional scripts in genmloop.sh rather than the building user's
    shell.
    
    sim/lm32/ChangeLog:
    
            * Makefile.in: Pass -shell to genmloop.sh.

Diff:
---
 sim/lm32/ChangeLog   | 4 ++++
 sim/lm32/Makefile.in | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index 32766f07950..31500e5c6c8 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,7 @@
+2021-04-15  John Baldwin  <jhb@FreeBSD.org>
+
+	* Makefile.in: Pass -shell to genmloop.sh.
+
 2021-04-12  Mike Frysinger  <vapier@gentoo.org>
 
 	* sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
diff --git a/sim/lm32/Makefile.in b/sim/lm32/Makefile.in
index 6a71aceb45b..633ffec8fd8 100644
--- a/sim/lm32/Makefile.in
+++ b/sim/lm32/Makefile.in
@@ -43,7 +43,7 @@ lm32.o: lm32.c $(LM32BF_INCLUDE_DEPS)
 # FIXME: Use of `mono' is wip.
 mloop.c eng.h: stamp-mloop
 stamp-mloop: $(srcdir)/../common/genmloop.sh mloop.in Makefile
-	$(SHELL) $(srccom)/genmloop.sh \
+	$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
 		-mono -fast -pbb -switch sem-switch.c \
 		-cpu lm32bf -infile $(srcdir)/mloop.in
 	$(SHELL) $(srcroot)/move-if-change eng.hin eng.h


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-15 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 23:21 [binutils-gdb] sim lm32: Use a known-good shell with genmloop.sh John Baldwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).