From af5d13633f982eedb3899cb2cda2a6ad2a78b21f Mon Sep 17 00:00:00 2001 From: Sitsofe Wheeler Date: Sun, 26 Jul 2020 11:27:22 +0100 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1