upgrade: Build with -mno-ms-bitfields to fix struct packing on Windows.

This commit is contained in:
Gareth McMullin 2015-03-10 21:58:37 -07:00
parent 2129210bb0
commit f9d484d506

View File

@ -2,7 +2,7 @@ OUTFILE = blackmagic_upgrade
CC = $(CROSS_COMPILE)gcc CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -Wextra -std=gnu99 -O0 -g -MD CFLAGS = -Wall -Wextra -std=gnu99 -O0 -g -MD -mno-ms-bitfields
LDFLAGS = -lusb LDFLAGS = -lusb
OBJ = bindata.o \ OBJ = bindata.o \