Avoid host toolchain copy to target toolchain dir in canadian build

After https://android-review.googlesource.com/#/c/88662/ in mingw build
host toolchain put into the same directory as target. This patch fixes
this issue.

Change-Id: I8cb08fdfc9f8a3eb1b88ba982ebeb79c851b25d8
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Fix binutils-2.24 detection

Starting from binutils-2.24, version is contained in AC_INIT
instead of M_INIT_AUTOMAKE

Change-Id: I447affb61d73069593aacc3cae3a0b99186e506f
Major update

sm for linux

Fix build-failed

Can't export with "+="

Add --build and --host to linux to fix build errors

Fix more various issues

Fix syntax errors

Fix host config

Fix the builds

More build fixes

Fix binutils can't find -lstdc++ and stdc++?

Fix all the builds

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Move posix back to cflags

Remove ccache, this confuses the compiler because CC and gcc are both redefined

Scripts were not executing because of unknow ! bash function

Add missing multilibs.  Fixes missing headers.

Binutils can't handle these gold linker flags commands.  Pass it onto LDFLAGS instead

Hopfully this builds...

forgot -lstdc++ for libstdc++...
Merge branch 'master' of https://android.googlesource.com/toolchain/build