From 5fc33ac023d6d73d3c160beb81e8207bde66014b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 1 Nov 2023 05:29:01 +0100 Subject: Refreshing no-Werror.patch. Signed-off-by: Daniel Baumann --- debian/patches/debian/0007-no-Werror.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'debian/patches/debian/0007-no-Werror.patch') diff --git a/debian/patches/debian/0007-no-Werror.patch b/debian/patches/debian/0007-no-Werror.patch index 2321e26..f7466a5 100644 --- a/debian/patches/debian/0007-no-Werror.patch +++ b/debian/patches/debian/0007-no-Werror.patch @@ -11,8 +11,8 @@ diff -Naurp mdadm.orig/Makefile mdadm/Makefile CC := $(CROSS_COMPILE)gcc endif CXFLAGS ?= -ggdb --CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -+CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter +-CWFLAGS ?= -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds ++CWFLAGS ?= -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds ifdef WARN_UNUSED - CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3 + CWFLAGS += -Wp -O3 endif -- cgit v1.2.3