a8468fd162
Resolves: bz#1988236 Signed-off-by: Xiao Ni <xni@redhat.com>
12 lines
393 B
Diff
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
|