Fix GCC toolchain paths when using Clang

Fix the GCC toolchain paths to distinguish between the base
directory, and the bin directory. This doesn't impact any of the
targets being built now, but is needed for adding future targets.

The COMMON_CFLAGS --gcc-toolchain flag should also refer to the
base rather than the bin directory, although it didn't matter
for kvm-unit-tests.

No change in the tools used for current compilations (confimred
with strace).

Signed-off-by: Fuad Tabba <>
Change-Id: Ia4de39da5ad98f4016d099313d98f0c283f573bd
1 file changed
tree: 9ef150868bad2991e291bf24167e755e0deae199
  1. Makefile
  2. aarch64/
  4. kvm-unit-tests/