On 12/26/17 12:47, Paul Smith wrote:
Again, the "-p" option will tell you if that is so.
With -p, ARCH appears in these lines:
# automatic
-*-command-variables-*- := SHARED=true LDFLAGS=-fstack-protector\
-L/usr/local/lib\ -lgmp\ -lm\ -lz DCC=cc LINKCC=cc CC=cc _SMP_CPUS=8
_PKG_CHECKED=1 _PERL5_FROM_BIN=5.24.3 _OSRELEASE=11.1-STABLE
OSVERSION=1101506 OSREL=11.1 OPSYS=FreeBSD HAVE_COMPAT_IA32_KERN=YES\
ARCH=amd64
# command line
ARCH = amd64
However, when I added these lines:
MYENV=$(shell /usr/bin/env)
$(info MYENV = $(MYENV))
it printed that ARCH=amd64 is set in environment too.
It's very strange that -p doesn't show ARCH being in the environment.
And -e isn't supplied in the arguments.
Yuri
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make