summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-02-09 00:05:24 +0100
committerLudovic Courtès <ludo@gnu.org>2013-02-09 23:21:00 +0100
commita69b7ad2d64e0b4db0044f59088e2be278b04e48 (patch)
treec6e2a5bea0da443979de3d822b34eec756e9386d
parent54845460eeb749dc1d04d66469a3cb3bef11a785 (diff)
downloadguix-a69b7ad2d64e0b4db0044f59088e2be278b04e48.tar.gz
build: Run `guild compile' under the C locale.
* Makefile.am (.scm.go): Set LC_ALL=C.
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 18c0bbdf71..0de96c8ddd 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			\