summaryrefslogtreecommitdiffstats
path: root/disk/mdadm/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'disk/mdadm/PRE_BUILD')
-rwxr-xr-xdisk/mdadm/PRE_BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/disk/mdadm/PRE_BUILD b/disk/mdadm/PRE_BUILD
new file mode 100755
index 0000000000..1dc347999b
--- /dev/null
+++ b/disk/mdadm/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+sedit 's:-Wall::' Makefile &&
+sedit 's:-Wextra::' Makefile &&
+sedit 's:-Werror::' Makefile