summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-10-04 15:44:09 +0000
committerrubidium <rubidium@openttd.org>2012-10-04 15:44:09 +0000
commita023c9ae689105c1ece08d2f0e09a59840e6a732 (patch)
tree3abf86ea533e350b562c9b10a50a8a74d81b52aa
parentd49bd2997b34c53630d2b6f7e450762d786f9576 (diff)
downloadopenttd-a023c9ae689105c1ece08d2f0e09a59840e6a732.tar.xz
(svn r24573) -Fix: hopefully get packing right on Mingw's gcc 4.7
-rw-r--r--config.lib3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.lib b/config.lib
index 1e0d184f5..6423d3e5f 100644
--- a/config.lib
+++ b/config.lib
@@ -1488,6 +1488,9 @@ make_cflags_and_ldflags() {
if [ $cc_version -ge 44 ]; then
LDFLAGS_BUILD="$LDFLAGS_BUILD -static-libgcc -static-libstdc++"
fi
+ if [ $cc_version -ge 47 ]; then
+ CFLAGS="$CFLAGS -mno-ms-bitfields"
+ fi
fi
fi