From: Sitsofe Wheeler Date: Sun, 26 Jul 2020 10:27:22 +0000 (+0100) Subject: Makefile: fix incorrectly set libiscsi cflags X-Git-Tag: fio-3.22~22^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=af5d13633f982eedb3899cb2cda2a6ad2a78b21f;p=fio.git Makefile: fix incorrectly set libiscsi cflags This fixes the warning error: -liscsi: 'linker' input unused [-Werror,-Wunused-command-line-argument] produced by clang. Signed-off-by: Sitsofe Wheeler --- diff --git a/Makefile b/Makefile index f374ac84..8e1ebc90 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ endif ifdef CONFIG_LIBISCSI iscsi_SRCS = engines/libiscsi.c iscsi_LIBS = $(LIBISCSI_LIBS) - iscsi_CFLAGS = $(LIBISCSI_LIBS) + iscsi_CFLAGS = $(LIBISCSI_CFLAGS) ENGINES += iscsi endif