test/common: Don't enable werror on FreeBSD
Facing similar issue as with9ab2855d
- can't build SPDK against fio 3.19. Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6805 (master) (cherry picked from commitf58afe93b8
) Change-Id: I4ea22e4f068a19d8d87be836454ec8deeeb2d48a Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7649 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
edf5f3de0e
commit
06bceceac8
@ -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