From: Stefan Weil <sw@weilnetz.de>
To: qemu-devel@nongnu.org
Cc: Stefan Weil <sw@weilnetz.de>, Emre Ersin <emre.ersin@gmail.com>
Subject: [Qemu-devel] [PATCH] Makefile: Set default locale C
Date: Fri, 23 Mar 2012 21:05:28 +0100 [thread overview]
Message-ID: <1332533128-24331-1-git-send-email-sw@weilnetz.de> (raw)
In-Reply-To: <20120323085010.26047.31273.malonedeb@chaenomeles.canonical.com>
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 <sw@weilnetz.de>
---
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
next prev parent reply other threads:[~2012-03-23 20:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 8:50 [Qemu-devel] [Bug 962880] [NEW] having a tr_TR.UTF-8 locale creates problems during compile Emre Ersin
2012-03-23 20:05 ` Stefan Weil [this message]
2012-03-24 12:44 ` [Qemu-devel] [PATCH] Makefile: Set default locale C Peter Maydell
2012-03-24 16:11 ` Emre Ersin
2012-03-24 17:56 ` Stefan Weil
2012-03-23 20:12 ` [Qemu-devel] [Bug 962880] Re: having a tr_TR.UTF-8 locale creates problems during compile Stefan Weil
2012-03-25 19:15 ` Stefan Weil
2012-03-31 18:28 ` Stefan Weil
2012-09-07 14:35 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332533128-24331-1-git-send-email-sw@weilnetz.de \
--to=sw@weilnetz.de \
--cc=emre.ersin@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).