[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmake-4.2.1 ignores assignment of ARCH on FreeBSD

From: Yuri
Subject: Re: gmake-4.2.1 ignores assignment of ARCH on FreeBSD
Date: Tue, 26 Dec 2017 12:29:32 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 12/26/17 11:37, Paul Smith wrote:

to the makefile right after you assign ARCH and see whether the shell
result is what you expect, and whether the ARCH assignment here is what
you expect.

Also, if you invoke make with the '-p' option it will show you where
all the variables are assigned along with their value.  This may help
you track down where ARCH is being set.

I found that ARCH=amd64 is set in the environment by the framework. This is what makes a difference.

But this is very confusing and error prone that := assignments are ignored for variables that are present in environment.

This can lead to random discrepancies in make runs.

It should really either assign the value, or fail if it can't, not just ignore the assignment.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]