summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-11-01 04:29:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-11-01 04:29:17 +0000
commit5fc33ac023d6d73d3c160beb81e8207bde66014b (patch)
treef33fc6bacf27aec670b4a18ecef30f1bb72ce965 /debian
parentRefreshing fix-manpages.patch. (diff)
downloadmdadm-5fc33ac023d6d73d3c160beb81e8207bde66014b.tar.xz
mdadm-5fc33ac023d6d73d3c160beb81e8207bde66014b.zip
Refreshing no-Werror.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/debian/0007-no-Werror.patch6
1 files changed, 3 insertions, 3 deletions
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