diff options
author | R. Diez <rdiezmail-openocd@yahoo.de> | 2024-05-12 20:50:34 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2024-05-26 10:00:00 +0000 |
commit | cf48bf6d3d1a76ed418ad4e5ef62fb578741e79a (patch) | |
tree | a3c052caaaecc4d127c26655e2dd2b268d514a86 | |
parent | 1fba7d53bb92fca82336f6615324bc597ab0a6c4 (diff) | |
download | riscv-openocd-cf48bf6d3d1a76ed418ad4e5ef62fb578741e79a.zip riscv-openocd-cf48bf6d3d1a76ed418ad4e5ef62fb578741e79a.tar.gz riscv-openocd-cf48bf6d3d1a76ed418ad4e5ef62fb578741e79a.tar.bz2 |
ChangeLog: fix warning "Wide character in print" from git2cl
Change-Id: Iaefd989413753fb59642c3887807abd6ddac4b53
Signed-off-by: R. Diez <rdiezmail-openocd@yahoo.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8262
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 1313d15..647b571 100644 --- a/Makefile.am +++ b/Makefile.am @@ -114,9 +114,14 @@ TCL_PATH = tcl TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' -o -name '*.txt' | \ sed -e 's,^$(srcdir)/$(TCL_PATH),,' +# Without the PERL_UNICODE="IO" workaround below when running git2cl, you get several +# "Wide character" warnings and you also risk an invalid character encoding in +# the generated ChangeLog file. For more information, see this bug report: +# Warning "Wide character in print" +# https://savannah.nongnu.org/bugs/?65689 dist-hook: if test -d $(srcdir)/.git -a \( ! -e $(distdir)/ChangeLog -o -w $(distdir)/ChangeLog \) ; then \ - git --git-dir $(srcdir)/.git log | $(srcdir)/tools/git2cl/git2cl > $(distdir)/ChangeLog ; \ + git --git-dir $(srcdir)/.git log | PERL_UNICODE="IO" $(srcdir)/tools/git2cl/git2cl > $(distdir)/ChangeLog ; \ fi for i in $$($(TCL_FILES)); do \ j="$(distdir)/$(TCL_PATH)/$$i" && \ |