summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/src/aclocal/prog-cxx.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/aclocal/prog-cxx.m4 b/c/src/aclocal/prog-cxx.m4
index 66c986c57d..e0ae7b468a 100644
--- a/c/src/aclocal/prog-cxx.m4
+++ b/c/src/aclocal/prog-cxx.m4
@@ -15,6 +15,12 @@ else
CXXFLAGS=${CXXFLAGS-${CFLAGS}}
fi
+CXXFLAGS=`echo ${CXXFLAGS} | sed \
+ -e s/-Wmissing-prototypes// \
+ -e s/-Wimplicit-function-declaration// \
+ -e s/-Wstrict-prototypes// \
+ -e s/-Wnested-externs//`
+
RTEMS_CHECK_TOOL(CXX,g++)
if test "$RTEMS_HAS_CPLUSPLUS" = "yes";
then