1From 31d88f46bfc67de2659991674253a5d5dfb92afc 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 21bb154..0018605 100644 18--- a/usr/Makefile 19+++ b/usr/Makefile 20@@ -35,7 +35,7 @@ endif 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 CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod) 29-- 302.28.0 31 32