cxgbe: fix build with clang
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 30 Jun 2015 22:14:25 +0000 (00:14 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 30 Jun 2015 22:18:43 +0000 (00:18 +0200)
commitc55e94f560ef5c9fcee4584952de1d0bd414aece
tree7a57e0ac1491ed25e3423cc4ac4a8263aac63a4e
parent4d84a97d52398c35364e357b8b7b50887b300b95
cxgbe: fix build with clang

GCC_VERSION is empty in case of clang:
/bin/sh: line 0: test: -ge: unary operator expected

It cannot be quoted because an integer is expected.
So the fix is to check empty value in a separate test.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
drivers/net/cxgbe/Makefile