[dpdk-dev] [PATCH v2] e1000: fix build with clang

2016-05-26 Thread Hiroyuki Mikita
Hi Thomas, > The output of git grep '(CC)' shows that there is some room for > cross-compilation fixes. > Any volunteer? > OK. I will send another patch after merging this. This is just a fix for clang build. Regards, Hiroyuki

[dpdk-dev] [PATCH v2] e1000: fix build with clang

2016-05-26 Thread Hiroyuki Mikita
GCC_VERSION is empty in case of clang: /bin/sh: line 0: test: -ge: unary operator expected It is the same issue as http://dpdk.org/dev/patchwork/patch/5994/ Fixes: 366113dbfb69 ("e1000: suppress misleading indentation warning") Signed-off-by: Hiroyuki Mikita --- v2: * fix for cross comp

[dpdk-dev] [PATCH v2] e1000: fix build with clang

2016-05-25 Thread Thomas Monjalon
2016-05-26 00:25, Hiroyuki Mikita: > GCC_VERSION is empty in case of clang: > /bin/sh: line 0: test: -ge: unary operator expected > > It is the same issue as http://dpdk.org/dev/patchwork/patch/5994/ > > Fixes: 366113dbfb69 ("e1000: suppress misleading indentation warning") > > Signed-off-