Commit 7e4a527a authored by Chris T's avatar Chris T Committed by Chris T
Browse files

Allow Maintainer mode to compile without -WError


(cherry picked from commit e93c4830)
parent 71838508
...@@ -15,7 +15,7 @@ AC_DEFUN([COMPILER_FLAGS], [ ...@@ -15,7 +15,7 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2" CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
fi fi
if (test "$USE_MAINTAINER_MODE" = "yes"); then if (test "$USE_MAINTAINER_MODE" = "yes"); then
CFLAGS+=" -Werror -Wextra" CFLAGS+=" -Wextra"
CFLAGS+=" -Wno-unused-parameter" CFLAGS+=" -Wno-unused-parameter"
CFLAGS+=" -Wno-missing-field-initializers" CFLAGS+=" -Wno-missing-field-initializers"
CFLAGS+=" -Wdeclaration-after-statement" CFLAGS+=" -Wdeclaration-after-statement"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment