DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] qede: fix build issue in the cross-compiling mode
@ 2016-05-25  9:41 Jerin Jacob
  2016-05-25 17:01 ` Ferruh Yigit
  2016-05-26  6:12 ` [dpdk-dev] [PATCH v2] " Jerin Jacob
  0 siblings, 2 replies; 5+ messages in thread
From: Jerin Jacob @ 2016-05-25  9:41 UTC (permalink / raw)
  To: dev; +Cc: harish.patil, Jerin Jacob

In cross-compiling mode CC can be aarch64-*-linux-gnu-gcc
instead of just gcc

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
 drivers/net/qede/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/qede/Makefile b/drivers/net/qede/Makefile
index c9b3b1c..10ced84 100644
--- a/drivers/net/qede/Makefile
+++ b/drivers/net/qede/Makefile
@@ -47,7 +47,7 @@ endif
 endif
 endif
 
-ifneq (,$(filter gcc gcc48,$(CC)))
+ifneq (,$(filter %gcc %gcc48,$(CC)))
 CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable
 CFLAGS_BASE_DRIVER += -Wno-missing-declarations
 CFLAGS_BASE_DRIVER += -Wno-maybe-uninitialized
-- 
2.5.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-26  6:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25  9:41 [dpdk-dev] [PATCH] qede: fix build issue in the cross-compiling mode Jerin Jacob
2016-05-25 17:01 ` Ferruh Yigit
2016-05-25 17:27   ` Thomas Monjalon
2016-05-26  6:12 ` [dpdk-dev] [PATCH v2] " Jerin Jacob
2016-05-26  6:36   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).