toolchain.eclass: fix warnings when progs are linked
authorMike Frysinger <vapier@gentoo.org>
Sun, 13 Dec 2015 04:41:18 +0000 (23:41 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 13 Dec 2015 04:45:46 +0000 (23:45 -0500)
commitee120105fcf78fec48e6b1860fee06b729d7d86f
tree7f4334128a729c09ad8baf57d9179706881779eb
parent775dcc66689e18fe7c037b59a4b1b7394742a008
toolchain.eclass: fix warnings when progs are linked

When gcc installs programs into BINPATH, it sometimes links them so that
the $CHOST-xxx and xxx progs are the same.  The logic to standardize the
naming in BINPATH then triggers a warning as they're the same file.

Manually delete the target before running the mv to avoid that business.
eclass/toolchain.eclass