[PATCH] build: Force warnings
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jun 7 09:35:54 UTC 2018
Always append some standard warning flags.
---
c/src/configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/src/configure.ac b/c/src/configure.ac
index f4428ed221..7e4986e03d 100644
--- a/c/src/configure.ac
+++ b/c/src/configure.ac
@@ -100,7 +100,7 @@ RTEMS_PROG_CCAS
RTEMS_CANONICALIZE_TOOLS
# Append warning flags if CFLAGS wasn't set.
-AS_IF([test "$GCC" = yes && test "$rtems_cv_CFLAGS_set" != set],
+AS_IF([test "$GCC" = yes],
[CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs"])
AS_IF([test -n "${CFLAGS}"],[
--
2.13.7
More information about the devel
mailing list