aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdadm/no-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mdadm/no-werror.patch')
-rw-r--r--main/mdadm/no-werror.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/mdadm/no-werror.patch b/main/mdadm/no-werror.patch
index f4164c5950b..f1a6b10a4ca 100644
--- a/main/mdadm/no-werror.patch
+++ b/main/mdadm/no-werror.patch
@@ -2,9 +2,9 @@ diff --git a/Makefile b/Makefile
index 5fd7f16..5095a42 100644
--- a/Makefile
+++ b/Makefile
-@@ -43,7 +43,7 @@ KLIBC_GCC = gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIB
-
- CC ?= $(CROSS_COMPILE)gcc
+@@ -50,7 +50,7 @@ ifeq ($(origin CC),default)
+ CC := $(CROSS_COMPILE)gcc
+ endif
CXFLAGS ?= -ggdb
-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter