aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGareth McMullin2015-03-10 21:58:37 -0700
committerGareth McMullin2015-03-10 21:58:37 -0700
commitf9d484d50685066164f2c4ef01b5c5a43b0c8915 (patch)
tree447a4c3431d7075560f935adbca9c23d38b25af0
parent2129210bb0bece1927ee5a349d8786212471b5cb (diff)
upgrade: Build with -mno-ms-bitfields to fix struct packing on Windows.
-rw-r--r--upgrade/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade/Makefile b/upgrade/Makefile
index ef190d7..397b3e6 100644
--- a/upgrade/Makefile
+++ b/upgrade/Makefile
@@ -2,7 +2,7 @@ OUTFILE = blackmagic_upgrade
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
OBJ = bindata.o \