1From 6afdfbdf1ecf3e7e9158734a3994a57ea151d680 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 12 Aug 2020 12:00:29 -0700
4Subject: [PATCH] Makefile: Do not set -Werror
5
6clang finds more warnings which causes build to fail, disable treating
7warning as errors
8
9Upstream-Status: Inappropriate [OE-Specific]
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 usr/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/usr/Makefile b/usr/Makefile
17index 84f33bc..9e7b839 100644
18--- a/usr/Makefile
19+++ b/usr/Makefile
20@@ -44,7 +44,7 @@ HOMEDIR ?= $(etcdir)/iscsi
21 PKG_CONFIG ?= /usr/bin/pkg-config
22
23 CFLAGS ?= -O2 -g
24-WARNFLAGS ?= -Wall -Wextra -Werror -Wstrict-prototypes -fno-common
25+WARNFLAGS ?= -Wall -Wextra -Wstrict-prototypes -fno-common
26 CFLAGS += $(WARNFLAGS) -I../include -I. -D_GNU_SOURCE \
27 	  -I$(TOPDIR)/libopeniscsiusr \
28 	  -DISCSI_VERSION_STR=\"$(ISCSI_VERSION_STR)\"
29--
302.34.1
31
32