summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/prog-cxx.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/aclocal/prog-cxx.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/aclocal/prog-cxx.m4 b/testsuites/aclocal/prog-cxx.m4
index 91f2b7fbef..aac9c37f6c 100644
--- a/testsuites/aclocal/prog-cxx.m4
+++ b/testsuites/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