build: remove -Wunused-result flag
This flag is on by default for compilers that support it, and it prevents compilation on older compilers that do not recognize it. Change-Id: I862cff6297ecd4fc40f2f8761bf398d524771921 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
d57f3db1b5
commit
1d3edefbcf
@ -46,7 +46,6 @@ endif
|
||||
OS := $(shell uname)
|
||||
|
||||
COMMON_CFLAGS = -g $(C_OPT) -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wmissing-declarations -fno-strict-aliasing -march=native -m64 -I$(SPDK_ROOT_DIR)/include
|
||||
COMMON_CFLAGS += -Wunused-result
|
||||
|
||||
COMMON_CFLAGS += -include $(SPDK_ROOT_DIR)/config.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user