Added ${_COMPILER_PREFIX} to the -pedantic flags for Neutrino

This commit is contained in:
Jerry.Kirk%Nexwarecorp.com 1999-09-03 12:44:56 +00:00
parent 92669e1cfa
commit fa543c4203

View File

@ -2421,8 +2421,8 @@ MOZ_ARG_DISABLE_BOOL(pedantic,
[ --disable-pedantic Issue all warnings demanded by strict ANSI C ],
_PEDANTIC= )
if test "$_PEDANTIC"; then
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -pedantic"
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -pedantic"
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} ${_COMPILER_PREFIX}-pedantic"
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic"
fi
dnl pass -Wno-long-long to the compiler