This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgo patch committed: Force LANG=C when looking for compiler version


On Mär 15 2018, Ian Lance Taylor <iant@golang.org> wrote:

> On Thu, Mar 15, 2018 at 11:24 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>> On Mär 15 2018, Ian Lance Taylor <iant@golang.org> wrote:
>>
>>> On Thu, Mar 15, 2018 at 10:10 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>>>> On Mär 15 2018, Ian Lance Taylor <iant@golang.org> wrote:
>>>>
>>>>> +     env = append(env, "LANG=C")
>>>>
>>>> You should use LC_ALL=C instead.
>>>
>>> Does it really matter?  Do you think that this approach won't work?
>>
>> LANG has lowest priority.
>
> The code strips out all the other possibly relevant environment variables.

That sets a bad example.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]