CONFIGURE: Fix PS2 compilation

newlib system include files suppress M_* defines under __STRICT_ANSI__
This commit is contained in:
dhewg 2011-03-20 10:28:17 +01:00
parent e6c8d151f9
commit 3e1bea3f17

2
configure vendored
View File

@ -3119,7 +3119,7 @@ if test "$have_gcc" = yes ; then
case $_host_os in
# newlib-based system include files suppress non-C89 function
# declarations under __STRICT_ANSI__
amigaos* | android | dreamcast | ds | gamecube | mingw* | n64 | psp | wii | wince )
amigaos* | android | dreamcast | ds | gamecube | mingw* | n64 | psp | ps2 | wii | wince )
CXXFLAGS="$CXXFLAGS -W -Wno-unused-parameter"
;;
*)