diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-11-01 04:29:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-11-01 04:29:17 +0000 |
commit | 5fc33ac023d6d73d3c160beb81e8207bde66014b (patch) | |
tree | f33fc6bacf27aec670b4a18ecef30f1bb72ce965 /debian | |
parent | Refreshing fix-manpages.patch. (diff) | |
download | mdadm-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.patch | 6 |
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 |