summaryrefslogtreecommitdiff
path: root/top/maint.mk
diff options
context:
space:
mode:
Diffstat (limited to 'top/maint.mk')
-rw-r--r--top/maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/top/maint.mk b/top/maint.mk
index 87f65c7e0e..934f23d56b 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -163,7 +163,7 @@ ifneq ($(_gl-Makefile),)
_cfg_mk := $(wildcard $(srcdir)/cfg.mk)
# Collect the names of rules starting with 'sc_'.
-syntax-check-rules := $(sort $(shell env LANG=C $(SED) -n \
+syntax-check-rules := $(sort $(shell env LC_ALL=C $(SED) -n \
's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(srcdir)/$(ME) $(_cfg_mk)))
.PHONY: $(syntax-check-rules)