[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Makefile: Set default locale C
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH] Makefile: Set default locale C |
Date: |
Fri, 23 Mar 2012 21:05:28 +0100 |
Some locale settings let make fail or create wrong results,
so set always the C locale.
* Conversion from lower to upper case with tr does not convert
lower case 'i' to 'I' with locale tr_TR.UTF-8.
* The html files created from texi input contain non english
titles like "Anhang" with locale de_DE.UTF-8.
Signed-off-by: Stefan Weil <address@hidden>
---
Makefile | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 1bc3cb0..fef0d7f 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,11 @@ $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
LIBS+=-lz $(LIBS_TOOLS)
+# Set default locale for commands like tr and others.
+LANG=C
+LC_ALL=C
+LC_CTYPE=C
+
HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF)
ifdef BUILD_DOCS
--
1.7.9
[Prev in Thread] |
Current Thread |
[Next in Thread] |