aports/main/mdadm/no-werror.patch
omni a292d641ca main/mdadm: upgrade to 4.3
- align patches
- add basename.patch needed since musl 1.2.5, see 
- add Create.c-fix-build.patch from upstream, also musl 1.2.5
- add util.c-include-limits.h.patch from upstream, mainly for ppc64le
- add eudev-dev makedependency to satisfy libudev.h need
2024-05-20 08:19:56 +00:00

11 lines
512 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ ifeq ($(origin CC),default)
CC := $(CROSS_COMPILE)gcc
endif
CXFLAGS ?= -ggdb
-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 -O3
endif