From 32481371e9e9e33aabf5e8634750ecd697c85531 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 30 Apr 2018 07:35:09 +0200 Subject: build: Force warnings Always append some standard warning flags. --- c/src/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/configure.ac') 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}"],[ -- cgit v1.2.3