diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-30 07:35:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-11 14:47:31 +0200 |
commit | 32481371e9e9e33aabf5e8634750ecd697c85531 (patch) | |
tree | 54251b8e8208da15a425eb0a423bb1784ac4faaf /c | |
parent | powerpc: Fix ss555 build (diff) | |
download | rtems-32481371e9e9e33aabf5e8634750ecd697c85531.tar.bz2 |
build: Force warnings
Always append some standard warning flags.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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}"],[ |