diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-18 15:27:59 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-18 15:27:59 +0000 |
commit | 1f27c1f7654f95944d2c88f6589cd9183ccfb8b5 (patch) | |
tree | 5e526b03e2129718748fc1589eeca1a2bd1bdc6a /c/src/aclocal | |
parent | 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-1f27c1f7654f95944d2c88f6589cd9183ccfb8b5.tar.bz2 |
2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wnested-externs.
Diffstat (limited to 'c/src/aclocal')
-rw-r--r-- | c/src/aclocal/prog-cc.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/aclocal/prog-cc.m4 b/c/src/aclocal/prog-cc.m4 index 19d758e40b..4371c17c6c 100644 --- a/c/src/aclocal/prog-cc.m4 +++ b/c/src/aclocal/prog-cc.m4 @@ -38,7 +38,7 @@ AC_SUBST(GCCSPECS) AS_IF([test "$GCC" = yes],[ RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall" # FIXME: This should be removed in production releases -RTEMS_CFLAGS="$RTEMS_CFLAGS -Wimplicit-function-declaration -Wstrict-prototypes" +RTEMS_CFLAGS="$RTEMS_CFLAGS -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs" m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) ]) AC_SUBST(RTEMS_CFLAGS) |