Date: Fri, 6 Nov 2015 14:07:18 -0800 From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r290423 - head Message-ID: <563D2496.8050707@FreeBSD.org> In-Reply-To: <201511052209.tA5M90Qd048188@repo.freebsd.org> References: <201511052209.tA5M90Qd048188@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kkb6I0bjWOJsFpCCrdlcjIdGB8GldfR0W Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/5/2015 2:09 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Thu Nov 5 22:09:00 2015 > New Revision: 290423 > URL: https://svnweb.freebsd.org/changeset/base/290423 >=20 > Log: > Allow 'make buildenv' to default to the caller's shell by using SHELL= =2E Sigh. ZSH does really stupid things. All of these variables are basically forced to be some internal value and cannot be overridden: CPUTYPE MACHTYPE OSTYPE VENDOR TMPPREFIX TIMEFMT WATCHFMT LISTMAX KEYTIMEOUT LOGCHECK MAILCHECK This means CPUTYPE=3D has no affect in buildenv and you end up with the host's value there, which breaks compiling. =46rom ZSH (not buildenv): # env|grep CPUTYPE # echo $CPUTYPE amd64 # env -i /usr/local/bin/zsh -c env|grep CPUTYPE # env -i CPUTYPE=3Dfoo /usr/local/bin/zsh -c env|grep CPUTYPE CPUTYPE=3Damd64 --=20 Regards, Bryan Drewery --kkb6I0bjWOJsFpCCrdlcjIdGB8GldfR0W Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWPSSXAAoJEDXXcbtuRpfPGrsH/2+oWMSf2CqXpoND/nwJZQqm 3Q4lzANtI6jG81F652uI9jZmon7CWDsEaF70WqHTVQUPmJwl9hQYJ4ySKgBFF/s7 mZ63+pcJjw1WsVVdI1W0doQEd3yBOEb6E4Uw9HEVPmCJ/ihomtnAwLAcajlryyXW b3vQp6TAaiBPEOsW5wamH6R8z9vJU1I2/mlYIVrZHtA1I6dF79KJLVAQjQY7ngac YG627ow49Zr9/OLfp1HLNUoK5pSLPy370tHyCiGBKKncLJmUPxHd3yP2YEyRmh12 N/LQOUnoJndxBJ7KbPZH2RJ1IVTvZaZ3PRpnV82mdFawClVIc/uTc2Pfvyl4cjg= =6ycP -----END PGP SIGNATURE----- --kkb6I0bjWOJsFpCCrdlcjIdGB8GldfR0W--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?563D2496.8050707>