bug-make
[Top][All Lists]
Advanced

[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 13:07:42 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

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




reply via email to

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