diff options
Diffstat (limited to 'meta/recipes-extended/mdadm/files/debian-no-Werror.patch')
-rw-r--r-- | meta/recipes-extended/mdadm/files/debian-no-Werror.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-extended/mdadm/files/debian-no-Werror.patch b/meta/recipes-extended/mdadm/files/debian-no-Werror.patch deleted file mode 100644 index b758fcd0ab..0000000000 --- a/meta/recipes-extended/mdadm/files/debian-no-Werror.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 319b3191f088cea7b0fb6038ab7625d5e049dcf7 Mon Sep 17 00:00:00 2001 | ||
2 | From: "martin f. krafft" <madduck@debian.org> | ||
3 | Date: Mon, 3 Jan 2022 19:14:12 +0000 | ||
4 | Subject: [PATCH] Remove -Werror from compiler flags | ||
5 | |||
6 | -Werror seems like a bad idea on released/packaged code because a toolchain | ||
7 | update (introducing new warnings) could break the build. We'll let upstream | ||
8 | use it to beautify the code, but remove it for out builds. | ||
9 | |||
10 | Signed-off-by: martin f. krafft <madduck@debian.org> | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | --- | ||
14 | Makefile | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/Makefile b/Makefile | ||
18 | index 9ab6a65..1141971 100644 | ||
19 | --- a/Makefile | ||
20 | +++ b/Makefile | ||
21 | @@ -50,7 +50,7 @@ ifeq ($(origin CC),default) | ||
22 | CC := $(CROSS_COMPILE)gcc | ||
23 | endif | ||
24 | CXFLAGS ?= -ggdb | ||
25 | -CWFLAGS ?= -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds | ||
26 | +CWFLAGS ?= -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds | ||
27 | ifdef WARN_UNUSED | ||
28 | CWFLAGS += -Wp -O3 | ||
29 | endif | ||