aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdadm/no-werror.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-11-14 07:46:07 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-11-14 07:46:20 +0000
commite2fd062978df2b164fdd7b97f2c455ae2a4bf8b5 (patch)
tree8f431d5778a7ba1268ef91e3567ffec16b7b9eb4 /main/mdadm/no-werror.patch
parent51df01b01774921e0bdfb6cfefb2ef64131d068c (diff)
downloadaports-e2fd062978df2b164fdd7b97f2c455ae2a4bf8b5.tar.bz2
aports-e2fd062978df2b164fdd7b97f2c455ae2a4bf8b5.tar.xz
main/mdadm: remove -Werror
Adjust license, modernize
Diffstat (limited to 'main/mdadm/no-werror.patch')
-rw-r--r--main/mdadm/no-werror.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/mdadm/no-werror.patch b/main/mdadm/no-werror.patch
new file mode 100644
index 0000000000..f4164c5950
--- /dev/null
+++ b/main/mdadm/no-werror.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 5fd7f16..5095a42 100644
+--- a/Makefile
++++ b/Makefile
+@@ -43,7 +43,7 @@ KLIBC_GCC = gcc -nostdinc -iwithprefix include -I$(KLIBC)/klibc/include -I$(KLIB
+
+ CC ?= $(CROSS_COMPILE)gcc
+ CXFLAGS ?= -ggdb
+-CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
++CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
+ ifdef WARN_UNUSED
+ CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3
+ endif