diff options
author | rubidium <rubidium@openttd.org> | 2012-10-04 15:44:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2012-10-04 15:44:09 +0000 |
commit | a023c9ae689105c1ece08d2f0e09a59840e6a732 (patch) | |
tree | 3abf86ea533e350b562c9b10a50a8a74d81b52aa | |
parent | d49bd2997b34c53630d2b6f7e450762d786f9576 (diff) | |
download | openttd-a023c9ae689105c1ece08d2f0e09a59840e6a732.tar.xz |
(svn r24573) -Fix: hopefully get packing right on Mingw's gcc 4.7
-rw-r--r-- | config.lib | 3 |
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 |