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
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6991 (master)
(cherry picked from commit 7366e569fb
)
Change-Id: I0f3922d7af412de35d9f79f3f5413af146996bf3
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7633
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
06bceceac8
commit
2879f9d2da
@ -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