]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a hack to workaround ZSH as BUILDENV_SHELL breaking CPUTYPE.
authorBryan Drewery <bdrewery@FreeBSD.org>
Sun, 8 Nov 2015 00:50:06 +0000 (00:50 +0000)
committerBryan Drewery <bdrewery@FreeBSD.org>
Sun, 8 Nov 2015 00:50:06 +0000 (00:50 +0000)
commita55d4ddd20f8bd122d3f4fc897d90f6273dcf9a8
tree775fc2900add54d8dcb940a2c7d3bb8110fbfe36
parentce8fe66f49069ce75c4d397eaba62dcbf755def5
Add a hack to workaround ZSH as BUILDENV_SHELL breaking CPUTYPE.

ZSH considers CPUTYPE a magic variable that will be the output of 'uname -m'
even if already set in environment when starting up.

The CPUTYPE?= check in Makefile.inc1 and supporting overriding CPUTYPE
manually in the buildenv shell make automatic workarounds too tricky
here.  ZSH should really respect variables set in the environment before
trashing them.

X-MFC-With: r290423
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Makefile.inc1