Mercurial > hg > openttd
changeset 12974:9b86edff7a2e draft
(svn r17468) -Fix (r17464): mingw compilation was broken
author | smatz <smatz@openttd.org> |
---|---|
date | Mon, 07 Sep 2009 21:45:26 +0000 |
parents | 4832983b9344 |
children | dcff0ff964ae |
files | config.lib |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/config.lib +++ b/config.lib @@ -1107,8 +1107,9 @@ fi if [ $cc_version -ge 43 ]; then - # Use c++0x mode so static_assert() is available - cxxflags="$cxxflags -std=c++0x" + # Use gnu++0x mode so static_assert() is available. + # Don't use c++0x, it breaks mingw (with gcc 4.4.0). + cxxflags="$cxxflags -std=gnu++0x" fi has_rdynamic=`$1 -dumpspecs | grep rdynamic`