Re: [tip:x86/urgent] Makefile: set LC_CTYPE, LC_COLLATE, LC_NUMERIC to C

H. Peter Anvin
2009-12-17T23:47:25Z

On 12/17/2009 03:44 PM, Masami Hiramatsu wrote:
> Roland Dreier wrote:
>>
>> > btw, something went wrong with it...
>>
>> > make[3]: `scripts/unifdef' ???????
>>
>> > when I ran with LC_ALL=C, it shows message correctly.
>>
>> > make[3]: `scripts/unifdef' is up to date.
>>
>> Do you have LANG and/or LC_MESSAGES set? LC_ALL will override all other
>> locale settings, so hpa explicitly unset it so that the other LC_xxx
>> variables will be used. But it means your environment's LC_MESSAGES (or
>> LANG if LC_MESSAGES is not set) will be used.
>
> Actually, I haven't touched it (I just installed Fedora11).
> And I think most of users don't set it too.
>

Fedora will typically set LANG. Do:

printenv | egrep '^(LANG|LC_)'

... to verify.

-hpa