File mpv_no-werror.patch of Package mpv
diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py
index 06baa98ac0..09a89b1c92 100644
--- a/waftools/detections/compiler.py
+++ b/waftools/detections/compiler.py
@@ -31,19 +31,6 @@ def __add_generic_flags__(ctx):
if ctx.is_debug_build():
ctx.env.CFLAGS += ['-g']
- __test_and_add_flags__(ctx, ["-Werror=implicit-function-declaration",
- "-Wno-error=deprecated-declarations",
- "-Wno-error=unused-function",
- "-Wempty-body",
- "-Wdisabled-optimization",
- "-Wstrict-prototypes",
- "-Wno-format-zero-length",
- "-Werror=format-security",
- "-Wno-redundant-decls",
- "-Wvla",
- "-Wno-format-truncation",
- "-Wimplicit-fallthrough",
- ])
__test_and_add_flags__(ctx, ["-fno-math-errno"])
def __add_gcc_flags__(ctx):