blob: d720a1adb044333e8131a8a99e96c1052fcce4d2 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From 6afdfbdf1ecf3e7e9158734a3994a57ea151d680 Mon Sep 17 00:00:00 2001
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05002From: 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
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060017index 84f33bc..9e7b839 100644
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050018--- a/usr/Makefile
19+++ b/usr/Makefile
Andrew Geissler87f5cff2022-09-30 13:13:31 -050020@@ -44,7 +44,7 @@ HOMEDIR ?= $(etcdir)/iscsi
21 PKG_CONFIG ?= /usr/bin/pkg-config
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050022
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 \
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060027 -I$(TOPDIR)/libopeniscsiusr \
28 -DISCSI_VERSION_STR=\"$(ISCSI_VERSION_STR)\"
29--
302.34.1
31