mk: fix build with clang < 3.5
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 25 Jul 2016 12:55:49 +0000 (13:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 25 Jul 2016 15:48:35 +0000 (17:48 +0200)
commit29361d4c91eddaf7798076322345ef2b151e0241
tree5d748ba3236be31e78b140d9590956114951d61e
parent50e315fca2c0af4a0382ad5cb71c61aff968c543
mk: fix build with clang < 3.5

clang version < 3.5 doesn't support -z linker option,
and some FreeBSD box still has clang versions < 3.5 as default version.

compile error:
clang: error: unknown argument: '-z'

Fixes: fd591c4c4e35 ("mk: check shared library dependencies")

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