toolchain.eclass: drop env -i from gcc-config calls.
authorBenda Xu <heroxbd@gentoo.org>
Sun, 8 Jan 2017 05:08:23 +0000 (14:08 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Mon, 9 Jan 2017 14:00:27 +0000 (23:00 +0900)
commit6526608cbdb8202bc69aaaedd19f773ef651862c
tree7d3afee4c0122304df1f4bcea5b5f595e3b7e834
parent0ab053baea2558fd77e4affe2223a3fac8c7b12c
toolchain.eclass: drop env -i from gcc-config calls.

  In Prefix, PATH should also be preserved, resulting in a mouthful of
  `env -i PATH=${PATH} ROOT=${ROOT}`.  The origin commit introducing
  env -i was for "cleanup".  Dropping env -i is cleaner.

Reference: https://gitweb.gentoo.org/repo/gentoo/historical.git/commit/?id=a8a64d1886cc5c9f975353b97237f2900a3ee88c
Reference: https://gitweb.gentoo.org/repo/gentoo/historical.git/commit/?id=7d9f89700a2ee50674c0d871ec6d21b468ac6206
Bug: 531610
eclass/toolchain.eclass