From: Jeff Shaw Date: Wed, 18 Feb 2015 17:57:43 +0000 (-0800) Subject: fm10k: fix clang warning flags X-Git-Tag: spdx-start~9595 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=44a7fe6e1b1033480be76e12338972c218a60682;p=dpdk.git fm10k: fix clang warning flags This commit fixes the following error which was reported when compiling with clang by removing the option. error: unknown warning option '-Wno-unused-but-set-variable' Signed-off-by: Jeff Shaw Acked-by: Keith Wiles --- diff --git a/lib/librte_pmd_fm10k/Makefile b/lib/librte_pmd_fm10k/Makefile index 986f4ef7fd..26663ae0ed 100644 --- a/lib/librte_pmd_fm10k/Makefile +++ b/lib/librte_pmd_fm10k/Makefile @@ -55,7 +55,7 @@ else ifeq ($(CC), clang) # CFLAGS_BASE_DRIVER = -Wno-unused-parameter -Wno-unused-value CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args -CFLAGS_BASE_DRIVER += -Wno-unused-variable -Wno-unused-but-set-variable +CFLAGS_BASE_DRIVER += -Wno-unused-variable CFLAGS_BASE_DRIVER += -Wno-missing-field-initializers else