[Scummvm-git-logs] scummvm-tools master -> 60033c92740ba63850911dea3f6946c5c9e38b9f
criezy
criezy at scummvm.org
Fri Sep 9 21:56:32 CEST 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .
Summary:
60033c9274 BUILD: Fix build on newlib-based systems
Commit: 60033c92740ba63850911dea3f6946c5c9e38b9f
https://github.com/scummvm/scummvm-tools/commit/60033c92740ba63850911dea3f6946c5c9e38b9f
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2016-09-09T20:55:55+01:00
Commit Message:
BUILD: Fix build on newlib-based systems
Changed paths:
configure
diff --git a/configure b/configure
index c80cb24..abbd1e6 100755
--- a/configure
+++ b/configure
@@ -929,7 +929,16 @@ fi
echo_n "Building as C++11... "
if test "$_use_cxx11" = "yes" ; then
- CXXFLAGS="$CXXFLAGS -std=c++11"
+ 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 | ps2 | wii | wince )
+ _use_cxx11=no
+ ;;
+ *)
+ CXXFLAGS="$CXXFLAGS -std=c++11"
+ ;;
+ esac
fi
echo $_use_cxx11
More information about the Scummvm-git-logs
mailing list