core/mdadm/disable-werror.patch

12 lines
374 B
Diff
Raw Normal View History

--- 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
2014-08-20 05:07:15 +08:00
CXFLAGS ?= -ggdb
-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
ifdef WARN_UNUSED
2014-08-20 05:07:15 +08:00
CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3
endif