diff mbox series

[8/9] Allow Maintainer mode to compile without -WError

Message ID dada9dfe9b84c03acdb50c9d36f43af5d51813f9.camel@talbothome.com (mailing list archive)
State Not Applicable
Headers show
Series A set of patches for ofono/mmsd | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Chris Talbot March 26, 2021, 10:52 a.m. UTC
Without this, compiling in maintainer mode errors out.

---
 acinclude.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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"