Makefile: fix incorrectly set libiscsi cflags
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 26 Jul 2020 10:27:22 +0000 (11:27 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 26 Jul 2020 10:55:10 +0000 (11:55 +0100)
This fixes the warning
error: -liscsi: 'linker' input unused [-Werror,-Wunused-command-line-argument]
produced by clang.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Makefile

index f374ac841b9af43afb23975c5a18fcd30a468c36..8e1ebc905fb259de72110df140cf9f7feb39281b 100644 (file)
--- 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