core/mdadm/disable-werror.patch

12 lines
372 B
Diff

--- Makefile.old 2011-06-17 09:38:03.269238332 +0200
+++ Makefile 2011-06-17 09:38:14.122398837 +0200
@@ -42,7 +42,7 @@
CC = $(CROSS_COMPILE)gcc
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 -O
endif