mdadm/disable-Werror.patch
Xiao Ni 35b3220e55 Update to latest upstream
Resolves: rhbz#1870487, rhbz#1880529

Signed-off-by: Xiao Ni <xni@redhat.com>
2021-08-03 22:34:11 +08:00

12 lines
393 B
Diff

--- mdadm/Makefile.orig 2021-07-28 21:39:23.887433859 +0800
+++ mdadm/Makefile 2021-07-28 21:39:37.989432841 +0800
@@ -50,7 +50,7 @@
CC := $(CROSS_COMPILE)gcc
endif
CXFLAGS ?= -ggdb
-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
ifdef WARN_UNUSED
CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3
endif