vmxnet3/base: disable some clang warnings
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Tested-by: Zhaochen Zhan <zhaochen.zhan@intel.com>
This commit is contained in:
parent
30fe25ea30
commit
bc9b2c694f
@ -44,6 +44,14 @@ ifeq ($(CC), icc)
|
||||
# CFLAGS for icc
|
||||
#
|
||||
CFLAGS_BASE_DRIVER = -wd174 -wd593 -wd869 -wd981 -wd2259
|
||||
|
||||
else ifeq ($(CC), clang)
|
||||
#
|
||||
# CFLAGS for clang
|
||||
#
|
||||
CFLAGS_BASE_DRIVER = -Wno-unused-parameter -Wno-unused-value
|
||||
CFLAGS_BASE_DRIVER += -Wno-strict-aliasing -Wno-format-extra-args
|
||||
|
||||
else
|
||||
#
|
||||
# CFLAGS for gcc
|
||||
|
Loading…
x
Reference in New Issue
Block a user