diff options
author | smatz <smatz@openttd.org> | 2009-09-07 21:45:26 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-07 21:45:26 +0000 |
commit | 2926611dd27d8f57fabf9761b1c25f4944d5cce5 (patch) | |
tree | 4c2878585b09dd4a4cdb80955fd291052c54c66e | |
parent | bd9670ea4764ee8df4b549f80f2743fb08bd5202 (diff) | |
download | openttd-2926611dd27d8f57fabf9761b1c25f4944d5cce5.tar.xz |
(svn r17468) -Fix (r17464): mingw compilation was broken
-rw-r--r-- | config.lib | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.lib b/config.lib index 70beddac1..77f663a3e 100644 --- a/config.lib +++ b/config.lib @@ -1107,8 +1107,9 @@ make_compiler_cflags() { 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` |