From a69b7ad2d64e0b4db0044f59088e2be278b04e48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Sat, 9 Feb 2013 00:05:24 +0100
Subject: [PATCH] build: Run `guild compile' under the C locale.

* Makefile.am (.scm.go): Set LC_ALL=C.
---
 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 18c0bbdf71d..0de96c8dddf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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			\
-- 
GitLab