Message ID | 87edzbjl2h.fsf@dustycloud.org |
---|---|
State | Accepted |
Headers | show |
Series | [bug#56204] Add guile-goblins | expand |
Context | Check | Description |
---|---|---|
cbaines/applying patch | fail | View Laminar job |
cbaines/issue | success | View issue |
Christine Lemmer-Webber schreef op zo 26-06-2022 om 15:09 [-0400]: > #+BEGIN_SRC diff > diff --git a/Makefile.am b/Makefile.am > index b8d4944..b056337 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -32,7 +32,7 @@ EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES) > GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat > SUFFIXES = .scm .go > .scm.go: > - $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<" > + $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_TARGET) $(GUILE_WARNINGS) -o "$@" "$<" > > SOURCES = goblins.scm \ > goblins/ocapn/crypto-stubs.scm \ > #+END_SRC > > Should that be sufficient? I think so (untested)? > Notably, the Makefile.am here was bootstrapped using guile-hall, so > my suspicion is that this is an update that should be made in > guile-hall's templates also, then everyone can benefit. Agreed. Greetings, Maxime.
Hi, Christine Lemmer-Webber <cwebber@dustycloud.org> skribis: > #+BEGIN_SRC diff > diff --git a/Makefile.am b/Makefile.am > index b8d4944..b056337 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -32,7 +32,7 @@ EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES) > GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat > SUFFIXES = .scm .go > .scm.go: > - $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<" > + $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_TARGET) $(GUILE_WARNINGS) -o "$@" "$<" > > SOURCES = goblins.scm \ > goblins/ocapn/crypto-stubs.scm \ > #+END_SRC > > Should that be sufficient? Yes, that LGTM, provided GUILE_TARGET is properly computed, like in Guile-Gcrypt’s ‘configure.ac’. Thanks, Ludo’.
diff --git a/Makefile.am b/Makefile.am index b8d4944..b056337 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,7 +32,7 @@ EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES) GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat SUFFIXES = .scm .go .scm.go: - $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<" + $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_TARGET) $(GUILE_WARNINGS) -o "$@" "$<" SOURCES = goblins.scm \ goblins/ocapn/crypto-stubs.scm \