From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: [PATCH v2] qede: fix build issue in the cross-compiling mode Date: Thu, 26 May 2016 11:42:55 +0530 Message-ID: <1464243175-4170-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1464169261-25455-1-git-send-email-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , , Jerin Jacob To: Return-path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0076.outbound.protection.outlook.com [65.55.169.76]) by dpdk.org (Postfix) with ESMTP id 6F7882C19 for ; Thu, 26 May 2016 08:13:40 +0200 (CEST) In-Reply-To: <1464169261-25455-1-git-send-email-jerin.jacob@caviumnetworks.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" In cross-compiling mode CC can be aarch64-*-linux-gnu-gcc instead of just gcc Suggested-by: Ferruh Yigit Signed-off-by: Jerin Jacob --- v1..v2 Use CONFIG_RTE_TOOLCHAIN_GCC instead of regular expression in filter --- 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..d4b1e28 100644 --- a/drivers/net/qede/Makefile +++ b/drivers/net/qede/Makefile @@ -47,7 +47,7 @@ endif endif endif -ifneq (,$(filter gcc gcc48,$(CC))) +ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y) CFLAGS_BASE_DRIVER += -Wno-unused-but-set-variable CFLAGS_BASE_DRIVER += -Wno-missing-declarations CFLAGS_BASE_DRIVER += -Wno-maybe-uninitialized -- 2.5.5