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.


Yuri



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to