[Debian-on-mobile-maintainers] [PATCH 8/9] Allow Maintainer mode to compile without -WError
Chris Talbot
chris at talbothome.com
Sat Apr 10 15:23:57 BST 2021
This patch allows mmsd to compile.
---
acinclude.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 329c6a9..314dbb1 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -15,7 +15,7 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
fi
if (test "$USE_MAINTAINER_MODE" = "yes"); then
- CFLAGS+=" -Werror -Wextra"
+ CFLAGS+=" -Wextra"
CFLAGS+=" -Wno-unused-parameter"
CFLAGS+=" -Wno-missing-field-initializers"
CFLAGS+=" -Wdeclaration-after-statement"
--
2.30.2
More information about the Debian-on-mobile-maintainers
mailing list