Re: [dpdk-dev] [PATCH] mk: fix shell errors when building with clang

2017-04-06 Thread Thomas Monjalon
2017-04-06 16:12, Olivier Matz: > On my system, the version of the compiler is not properly retrieved, > resulting in strange logs when building the dpdk: > /bin/sh: line 0: test: too many arguments > > This happens when mk/toolchain/clang/rte.toolchain-compat.mk is included > from a directory t

[dpdk-dev] [PATCH] mk: fix shell errors when building with clang

2017-04-06 Thread Olivier Matz
On my system, the version of the compiler is not properly retrieved, resulting in strange logs when building the dpdk: /bin/sh: line 0: test: too many arguments This happens when mk/toolchain/clang/rte.toolchain-compat.mk is included from a directory that use gcc to build (ex: kernel modules). I