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

2016-05-25 Thread Thomas Monjalon
2016-05-24 23:48, 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/ I did this patch but it looks broken for cross-compiler. Please fix it. Thanks

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

2016-05-25 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Hiroyuki Mikita [mailto:h.mikita89 at gmail.com] > Sent: Tuesday, May 24, 2016 10:48 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: [PATCH] e1000: fix build with clang > > GCC_VERSION is empty in case of clang: > /bin/sh: line 0: test: -ge: u

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

2016-05-24 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 --- drivers/net/e1000/Makef