mk: use $CC to detect toolchain version
authorSamuel Gauthier <samuel.gauthier@6wind.com>
Thu, 20 Sep 2012 08:07:44 +0000 (10:07 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 14:07:50 +0000 (16:07 +0200)
commit19824d7a69b95a22ad4edd240473aea1ce38c04d
tree5255af28dc58ae608505eb248ef0e53601217d1a
parent594f3c1cea092afc62cd5d4c867968cff595542c
mk: use $CC to detect toolchain version

Using gcc is wrong, we should use the cross gcc to detect the
version of gcc.

Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/toolchain/gcc/rte.toolchain-compat.mk