win: Add -mno-ms-bitfields
authorShao Miller <sha0.miller@gmail.com>
Thu, 11 Oct 2012 15:59:37 +0000 (11:59 -0400)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 11 Oct 2012 20:09:45 +0000 (21:09 +0100)
commit7d9ee65cc9577eb69782a49a34895ae80820e9ff
tree4de1c346fa606b9a2ea1470d90a6f43759257e30
parent49bb31df33589a9bff1e7505acfe5ff7a37caf64
win: Add -mno-ms-bitfields

Recent MinGW GCCs now have -mms-bitfields on by default, but it
appears to break our intentions with __attribute__((packed)).
See GCC bug 52991,

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991

The undesired behaviour was noticed when the win32 installer
had troubles identifying the media type field of a boot sector.

Signed-off-by: Shao Miller <sha0.miller@gmail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
win32/Makefile
win64/Makefile