[yocto] [psplash][PATCH 1/5] configure: add -Wextra GCC flag
Richard Leitner
richard.leitner at skidata.com
Thu Apr 14 03:58:33 PDT 2016
Enable extra warnings when using GCC.
Signed-off-by: Richard Leitner <richard.leitner at skidata.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index bf00e91..1c4d919 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ AC_PROG_CC
AC_STDC_HEADERS
if test "x$GCC" = "xyes"; then
- GCC_FLAGS="-g -Wall"
+ GCC_FLAGS="-g -Wall -Wextra"
fi
AC_SUBST(GCC_FLAGS)
--
2.1.4
More information about the yocto
mailing list