test/common: Don't enable werror on FreeBSD
Facing similar issue as with 9ab2855d
- can't build SPDK against fio
3.19.
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I4ea22e4f068a19d8d87be836454ec8deeeb2d48a
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6805
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
1726cdfcf5
commit
f58afe93b8
@ -39,6 +39,11 @@ FIO_PLUGIN := $(SPDK_ROOT_DIR)/build/fio/$(notdir $(FIO_PLUGIN))
|
||||
LIBS += $(SPDK_LIB_LINKER_ARGS)
|
||||
|
||||
CFLAGS += -I$(CONFIG_FIO_SOURCE_DIR)
|
||||
# Compiling against fio 3.19 on latest FreeBSD generates warnings so we
|
||||
# cannot use -Werror
|
||||
ifeq ($(OS),FreeBSD)
|
||||
CFLAGS += -Wno-error
|
||||
endif
|
||||
LDFLAGS += -shared -rdynamic -Wl,-z,nodelete
|
||||
|
||||
CLEAN_FILES = $(FIO_PLUGIN)
|
||||
|
Loading…
Reference in New Issue
Block a user