[rtems commit] build: Force warnings

Sebastian Huber sebh at rtems.org
Mon Jun 11 12:48:26 UTC 2018


Module:    rtems
Branch:    master
Commit:    32481371e9e9e33aabf5e8634750ecd697c85531
Changeset: http://git.rtems.org/rtems/commit/?id=32481371e9e9e33aabf5e8634750ecd697c85531

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Apr 30 07:35:09 2018 +0200

build: Force warnings

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 f4428ed..7e4986e 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}"],[




More information about the vc mailing list