build: Run `guild compile' under the C locale.

* Makefile.am (.scm.go): Set LC_ALL=C.
This commit is contained in:
Ludovic Courtès 2013-02-09 00:05:24 +01:00
parent 54845460ee
commit a69b7ad2d6

View file

@ -279,8 +279,11 @@ EXTRA_DIST = \
CLEANFILES = $(GOBJECTS) *.log
# XXX: Use the C locale for when Guile lacks
# <http://git.sv.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=e2c6bf3866d1186c60bacfbd4fe5037087ee5e3f>.
.scm.go:
$(MKDIR_P) `dirname "$@"`
LC_ALL=C \
$(top_builddir)/pre-inst-env \
$(GUILD) compile -L "$(top_builddir)" -L "$(top_srcdir)" \
-Wformat -Wunbound-variable -Warity-mismatch \