summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-30 07:35:09 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-11 14:47:31 +0200
commit32481371e9e9e33aabf5e8634750ecd697c85531 (patch)
tree54251b8e8208da15a425eb0a423bb1784ac4faaf /c/src
parentpowerpc: Fix ss555 build (diff)
downloadrtems-32481371e9e9e33aabf5e8634750ecd697c85531.tar.bz2
build: Force warnings
Always append some standard warning flags.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/configure.ac2
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}"],[