summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/files/debian-no-Werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/mdadm/files/debian-no-Werror.patch')
-rw-r--r--meta/recipes-extended/mdadm/files/debian-no-Werror.patch19
1 files changed, 12 insertions, 7 deletions
diff --git a/meta/recipes-extended/mdadm/files/debian-no-Werror.patch b/meta/recipes-extended/mdadm/files/debian-no-Werror.patch
index e66a15cd79..fa90647489 100644
--- a/meta/recipes-extended/mdadm/files/debian-no-Werror.patch
+++ b/meta/recipes-extended/mdadm/files/debian-no-Werror.patch
@@ -1,5 +1,7 @@
1From: martin f. krafft <madduck@debian.org> 1From adb75f0bdec97dbe4aa15cc988d349775f7995ff Mon Sep 17 00:00:00 2001
2Subject: Remove -Werror from compiler flags 2From: "martin f. krafft" <madduck@debian.org>
3Date: Mon, 3 Jan 2022 19:14:12 +0000
4Subject: [PATCH] Remove -Werror from compiler flags
3 5
4-Werror seems like a bad idea on released/packaged code because a toolchain 6-Werror seems like a bad idea on released/packaged code because a toolchain
5update (introducing new warnings) could break the build. We'll let upstream 7update (introducing new warnings) could break the build. We'll let upstream
@@ -8,15 +10,18 @@ use it to beautify the code, but remove it for out builds.
8Signed-off-by: martin f. krafft <madduck@debian.org> 10Signed-off-by: martin f. krafft <madduck@debian.org>
9 11
10Upstream-Status: Pending 12Upstream-Status: Pending
13
11--- 14---
12 Makefile | 2 +- 15 Makefile | 2 +-
13 1 files changed, 1 insertions(+), 1 deletions(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
14 17
18diff --git a/Makefile b/Makefile
19index 716c97c..40354ea 100644
15--- a/Makefile 20--- a/Makefile
16+++ b/Makefile 21+++ b/Makefile
17@@ -48,7 +48,7 @@ endif 22@@ -50,7 +50,7 @@ ifeq ($(origin CC),default)
18 23 CC := $(CROSS_COMPILE)gcc
19 CC ?= $(CROSS_COMPILE)gcc 24 endif
20 CXFLAGS ?= -ggdb 25 CXFLAGS ?= -ggdb
21-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter 26-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
22+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter 27+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter