forked from Imagelibrary/rtems
Fix warnings for using C/ObjC specific GCC flags with C++
Closes #3181.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user