OSDN Git Service

upg
[joborun/jobcore.git] / mdadm / disable-werror.patch
1 --- Makefile.old        2022-01-10 17:07:50.475985407 +0100
2 +++ Makefile    2022-01-10 17:08:11.599433663 +0100
3 @@ -50,7 +50,7 @@
4  CC := $(CROSS_COMPILE)gcc
5  endif
6  CXFLAGS ?= -ggdb
7 -CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
8 +CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
9  ifdef WARN_UNUSED
10  CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3
11  endif