[<prev] [next>] [day] [month] [year] [list]
Message-ID: <dada9dfe9b84c03acdb50c9d36f43af5d51813f9.camel@talbothome.com>
Date: Fri, 26 Mar 2021 06:52:32 -0400
From: Christopher Talbot <chris@...bothome.com>
To: netdev@...r.kernel.org
Subject: [PATCH 8/9] Allow Maintainer mode to compile without -WError
Without this, compiling in maintainer mode errors out.
---
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.0
Powered by blists - more mailing lists