mk: fix clang version query
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 25 Jul 2016 12:55:48 +0000 (13:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 25 Jul 2016 15:48:30 +0000 (17:48 +0200)
commit50e315fca2c0af4a0382ad5cb71c61aff968c543
tree6f8d85dc919124f4df1d0ba72687ec452b061c92
parent6baf0eca5cfa068621ee15605159523918109661
mk: fix clang version query

-dumpversion is for gcc compatibility and doesn't return actual clang
version. -dumpversion only returns 4.2.1 for a long time.

Fixes: 2ef6eea891e5 ("mk: add clang toolchain")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Tested-by: Bruce Richardson <bruce.richardson@intel.com>
mk/toolchain/clang/rte.toolchain-compat.mk