build/fio: disable warning for fio clang-11 builds
Fio 3.19 fails to build with Clang 11 because of implicit-const-int-float-conversion error. Disable -Werror checking for now. Fixes #1848 Change-Id: I0f3922d7af412de35d9f79f3f5413af146996bf3 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6991 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
c3853598b1
commit
7366e569fb
@ -43,6 +43,8 @@ CFLAGS += -I$(CONFIG_FIO_SOURCE_DIR)
|
||||
# cannot use -Werror
|
||||
ifeq ($(OS),FreeBSD)
|
||||
CFLAGS += -Wno-error
|
||||
else ifeq ($(CC_TYPE),clang)
|
||||
CFLAGS += -Wno-error
|
||||
endif
|
||||
LDFLAGS += -shared -rdynamic -Wl,-z,nodelete
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user